A command line program to estimate items and abilities in a multiple choice IRT model. More...
#include <libirt.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <getopt.h>
#include <string.h>
Functions | |
int | parse_arg (int argc, char *argv[]) |
Parse the options and arguments of the program. | |
int | options_weights_from_answer_key (char *answer_key, gsl_vector_int *items_pos, gsl_vector_int *nbr_options, gsl_vector *options_weights) |
Parse the answer key and set the options weights. | |
int | main (int argc, char *argv[]) |
The main function of the program. |
Variables | |
struct option | long_options [] |
The command line options. | |
char * | file_name |
The file name. | |
int | nbr_item |
The number of item. | |
int | nbr_subject |
The number of subject. | |
int | skip |
The number of line to skip. | |
int | offset |
The number of character or field to skip. | |
int | extra |
The number of character or field between items. | |
char | delimiter |
The delimiter. | |
char * | answer_key |
The option representing sucess for each item. | |
int | nbr_quad |
The number of quadrature class. | |
double | quad_from |
The first class middle point. | |
double | quad_to |
The last class middle point. | |
double | slope_init |
The initial value of the slope. | |
double | thresh_init |
The initial value of the threshold. | |
int | max_em_iter |
The maximum number of EM iteration. | |
int | max_nr_iter |
The maximum number of newton iteration. | |
double | precision |
The precision. | |
int | grouping |
Enable the grouping of identical patterns. | |
int | verbose |
The verbosity level. | |
int | ability |
Enable the estimation of the abilities. | |
int | trimming |
Enable the trimming of spaces in the fields (when delimited). | |
int | penalized |
Enable the use of penalized maximum marginal likelihood. | |
int | kernel |
Enable the use of kernel estimators. | |
double | smooth_factor |
The smooth factor if PMMLE or kernel is used. | |
int | response_functions |
Enable the display of the response functions instead of the parameters. | |
int | graded |
Enable the use of the graded model. | |
int | icc |
Enable the display of the items' characteristic curves. |
A command line program to estimate items and abilities in a multiple choice IRT model.
int parse_arg | ( | int | argc, |
char * | argv[] | ||
) |
Parse the options and arguments of the program.
Also set the defaults values.
int options_weights_from_answer_key | ( | char * | answer_key, |
gsl_vector_int * | items_pos, | ||
gsl_vector_int * | nbr_options, | ||
gsl_vector * | options_weights | ||
) |
Parse the answer key and set the options weights.
int main | ( | int | argc, |
char * | argv[] | ||
) |
The main function of the program.
struct option long_options[] |
The command line options.
To be used by getopt_long.
char* file_name |
The file name.
int nbr_item |
The number of item.
int nbr_subject |
The number of subject.
int skip |
The number of line to skip.
int offset |
The number of character or field to skip.
int extra |
The number of character or field between items.
char delimiter |
The delimiter.
char* answer_key |
The option representing sucess for each item.
int nbr_quad |
The number of quadrature class.
double quad_from |
The first class middle point.
double quad_to |
The last class middle point.
double slope_init |
The initial value of the slope.
double thresh_init |
The initial value of the threshold.
int max_em_iter |
The maximum number of EM iteration.
int max_nr_iter |
The maximum number of newton iteration.
double precision |
The precision.
int grouping |
Enable the grouping of identical patterns.
int verbose |
The verbosity level.
int ability |
Enable the estimation of the abilities.
int trimming |
Enable the trimming of spaces in the fields (when delimited).
int penalized |
Enable the use of penalized maximum marginal likelihood.
int kernel |
Enable the use of kernel estimators.
double smooth_factor |
The smooth factor if PMMLE or kernel is used.
int response_functions |
Enable the display of the response functions instead of the parameters.
int graded |
Enable the use of the graded model.
int icc |
Enable the display of the items' characteristic curves.
Generated on Sun Jan 26 2014 15:27:27 for libirt by Doxygen. |