Package | Description |
---|---|
edu.umass.cs.surveyman.analyses |
Contains static and dynamic analysis structures and logic.
|
edu.umass.cs.surveyman.input |
Contains the abstract lexing and parsing protocols and some concrete implementations.
|
edu.umass.cs.surveyman.output |
Contains objects used to print out results or transmit data over a server.
|
edu.umass.cs.surveyman.qc |
Contains quality control metrics.
|
edu.umass.cs.surveyman.qc.respondents | |
edu.umass.cs.surveyman.survey |
Contains internal representations of survey component abstractions.
|
edu.umass.cs.surveyman.survey.exceptions |
Survey exceptions.
|
Modifier and Type | Field and Description |
---|---|
Map<Question,Map<Question,CorrelationStruct>> |
StaticAnalysis.Report.frequenciesOfRandomCorrelations |
Map<Question,Map<Question,CorrelationStruct>> |
StaticAnalysis.Report.frequenciesOfRandomCorrelations |
Modifier and Type | Method and Description |
---|---|
Question |
IQuestionResponse.getQuestion()
Gets the question associated with this IQuestionResponse
|
Question |
DynamicAnalysis.QuestionResponse.getQuestion() |
Modifier and Type | Method and Description |
---|---|
IQuestionResponse |
SurveyResponse.getResponseForQuestion(Question q)
Gets the response to the input quesiton.
|
boolean |
SurveyResponse.hasResponseForQuestion(Question q)
Checks whether the respondent saw and answered the input question.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,List<Question>> |
AbstractParser.correlationMap
A map from correlation labels to their associated set of questions.
|
Modifier and Type | Field and Description |
---|---|
Question |
CorrelationStruct.thingA |
Question |
CorrelationStruct.thingB |
Modifier and Type | Method and Description |
---|---|
void |
WordingBiasStruct.update(Block b,
Question q1,
Question q2,
CorrelationStruct correlationStruct) |
void |
BreakoffByQuestion.update(Question question) |
void |
OrderBiasStruct.update(Question q1,
Question q2,
CorrelationStruct correlationStruct) |
Constructor and Description |
---|
CorrelationStruct(CoefficentsAndTests coefficientType,
double coefficientValue,
double coefficientPValue,
Question thingA,
Question thingB,
int numSamplesA,
int numSamplesB) |
Modifier and Type | Method and Description |
---|---|
Question |
Interpreter.getNextQuestion()
Returns the next question, according to the status of the interpreter.
|
Modifier and Type | Method and Description |
---|---|
static List<Question> |
QCMetrics.filterAnalyzable(List<Question> questionList)
Filter the list of questions for things that can be analyzed in terms of survey correctness.
|
Map<Question,Map<Question,CorrelationStruct>> |
QCMetrics.getFrequenciesOfRandomCorrelation()
Simulates a survey of 100% random uniform respondents over sampleSize and calculates a prior on false correlation.
|
Map<Question,Map<Question,CorrelationStruct>> |
QCMetrics.getFrequenciesOfRandomCorrelation()
Simulates a survey of 100% random uniform respondents over sampleSize and calculates a prior on false correlation.
|
List<Question> |
SurveyPath.getQuestionsFromPath()
Returns all questions in a block list (typically the topLevelBlocks of a Survey).
|
Modifier and Type | Method and Description |
---|---|
void |
Interpreter.answer(Question q,
List<SurveyDatum> aList)
Answers question q with some list of answers.
|
protected static List<SurveyDatum> |
QCMetrics.getEquivalentAnswerVariants(Question q,
SurveyDatum c)
Returns equivalent answer options (a list of survey.SurveyDatum)
|
static boolean |
QCMetrics.isAnalyzable(Question question) |
boolean |
QCMetrics.isFinalQuestion(Question question,
SurveyResponse surveyResponse) |
static double |
QCMetrics.mannWhitney(Question q1,
Question q2,
List<SurveyDatum> list1,
List<SurveyDatum> list2)
Mann-Whitney statistic, specialized for comparing survey questions.
|
Modifier and Type | Method and Description |
---|---|
static List<Question> |
QCMetrics.filterAnalyzable(List<Question> questionList)
Filter the list of questions for things that can be analyzed in terms of survey correctness.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Question,SurveyDatum> |
NonRandomRespondent.answers |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractRespondent.generateStringComponent(Question q)
Generates a string for freetext questions.
|
protected int |
AbstractRespondent.getDenominator(Question q)
Gets the size of the response space for a given question.
|
Modifier and Type | Class and Description |
---|---|
class |
CheckboxQuestion
Convenience class for representing check box questions.
|
class |
RadioButtonQuestion
Convenience class for representing radio button questions.
|
Modifier and Type | Field and Description |
---|---|
Question |
Block.branchQ
The branch question associated with this block.
|
Modifier and Type | Field and Description |
---|---|
Map<String,List<Question>> |
Survey.correlationMap
Map from correlation labels to the Questions that are correlated.
|
List<Question> |
Survey.questions
Top level list of all questions in this survey.
|
List<Question> |
Block.questions
The questions that reside directly in this block (not in sub-blocks).
|
Modifier and Type | Method and Description |
---|---|
Question |
Survey.getQuestionById(String quid)
Returns the
Question object associated with the input question identifier. |
Question |
Survey.getQuestionByLineNo(int lineno)
Returns the
Question that contains the associated input line number. |
Question |
Survey.getQuestionByText(String text)
Returns the
Question whose surface text corresponds with the input. |
Question[] |
Survey.getQuestionListByIndex() |
static Question |
Question.makeQuestion(String data,
int row,
int col)
Creates a question whose identifier is based on the question's input location and whose associated data
SurveyDatum is data. |
static Question |
Question.makeQuestion(SurveyDatum data,
int row,
int col)
Used by the
edu.umass.cs.surveyman.input parsers. |
Modifier and Type | Method and Description |
---|---|
List<Question> |
Block.getAllQuestions()
Returns all of the questions for this block and all of its sub-blocks.
|
List<Question> |
Question.getVariants()
For each question, returns the set of all equivalent questions (including itself).
|
Set<Question> |
Survey.getVariantSet(Question thisQ)
If the input question belongs to a Block having
Block.BranchParadigm equal
to ALL , it is part of a question variant set. |
Modifier and Type | Method and Description |
---|---|
void |
Block.addBranchQuestion(Question q) |
void |
Survey.addQuestion(Question q) |
void |
Block.addQuestion(Question q) |
void |
Survey.addQuestions(Question... surveyQuestions)
Adds the questions provided in the arguments to a top level block and adds this block to the survey.
|
void |
Block.addQuestions(Question... questions) |
boolean |
Question.before(Question q)
Tests whether this question precedes the input question, according to their enclosing blocks.
|
boolean |
Block.containsQuestion(Question question) |
String |
Survey.getCorrelationLabel(Question q)
Returns the correlation label associated with the input question.
|
Set<Question> |
Survey.getVariantSet(Question thisQ)
If the input question belongs to a Block having
Block.BranchParadigm equal
to ALL , it is part of a question variant set. |
static void |
Question.makeOrderedRadioQuestions(Question[] questions,
String... surfaceStrings) |
static void |
Question.makeUnorderedCheckQuestions(Question[] questions,
String... surfaceStrings) |
static void |
Question.makeUnorderedRadioQuestions(Question[] questions,
String... surfaceStrings)
Convenience method for quickly creating a series of questions with the default settings.
|
Modifier and Type | Method and Description |
---|---|
protected static String |
Question.jsonize(List<Question> questionList) |
Constructor and Description |
---|
Survey(Question... surveyQuestions) |
Constructor and Description |
---|
DuplicateQuestions(Question q1,
Question q2) |
QuestionConsistencyException(Question question,
String property,
boolean error) |
Copyright © 2015. All rights reserved.