File restructure #1
This commit is contained in:
.gitignoretélécharger les mises à jour SSC.doREADME.md
Modules/ado
personal
_
a
b
bidonc
calcscore.adocalcul.adocfa.adocheckfor2.adocheckfor2.hlpcheckvars.adocheckvars.hlpclv.adoclv.sthlpclv212.adoclv214.adoclv215.adoclv216.adoclv27.adoclv29.adocompart.adocompart2.adoconc.adoconvdiv.ado
d
dege.adodelta.adodescitems.adodescscale.adodescscalev1.1.adodescscalev1.adodetect.adodetect.hlpdetect2.adodropmissing.ado
e
files
Pop8204Dep.dtacantons.dtacommpct.dtacommunes.dtacommze.dtadccentre8002.dtadcfrance8002.dtanais8003.dtarpf829099.dtarph829099.dtarphf829099.dta
g
gammasym.adogammasym.hlpgausshermite.adogausshermite.hlpgausshermite1.adogausshermite2.adogausshermite3.adogeekel2d.adogeekel2d.hlpgeekel2d4.adogengroup.adogengroup.hlpgengutt.adogenscore.adogenscore.hlpguttmax.adoguttmax1.ado
grec
h
i
imputeitems - Copie.adoimputeitems v2.4.adoimputeitems.adoimputeitems.hlpimputeitems.txtimputeitems2.adoimputeitems_1.adoimputemok.adoimputemok.hlpimputerasch.adoimputerasch.hlpirtpoly.adoisvar.ado
k
l
loevH7.adoloevH72.adoloevH73.adoloevH73.hlploevHv1.hlploevh - Copie au 17 juin 2017.adoloevh v8.2.adoloevh.adoloevh.hlploevh8-1-3.adoloevh8.adoloevh81.adoloevh812.ziploevh813.adoloevh82.adolstrfun.ado
m
Multirsoort_indicefit.adomatrixlisthtml.adomdreplace.adomi_twoway.adomi_twoway.hlpmmsrm.adommsrm.hlpmmsrm2.adomsp.adomsp.hlpmsp66.adomsp66.hlpmsp82.ado
n
p
pcm - Copie.adopcm 3.4.adopcm 4.0.adopcm 4.1.adopcm 4.2 sauv le 8nov2019.adopcm 4.2.adopcm 5.1.adopcm 5.2.adopcm 5.3.adopcm 5.4.adopcm.adopcm.sthlppcm.zippcm21.adopcm22.adopcm23.adopcm3.2.adopcm3.3.adopcm3.adopcm44.adopcm5.adopcmodel.hlppcmodel.sthlppcmodel22.adopcmodel_v.adopcmodelplus.adopcmold.adopcmtest.adopcmtest.hlppcmtest.sthlppredraschwlm.ado
qualmosta
r
old
raschfit2.adoraschfit31.adoraschpower - Copie version SIM.adoraschpower1.5.adoraschpower1.adoraschpowerpcm.adoraschpowers.hlpraschtest2.adoraschtest82.adoraschtest83.adoraschtestv7732.adoraschtestv7761.adoraschtestv7762.adoraschtestv78 avant COVARIABLES.adoraschtestv782.adoraschtestv785.adoraschtestv7jf.adorsoort.dorsoort1 (2).adorsoort1.ado
raschfit.adoraschfit.hlpraschlong.adoraschlongitudinal2.adoraschpce.adoraschpower.adoraschpower.hlpraschpower33.adoraschpower4.adoraschpower5.adoraschpower51.adoraschpower511.adoraschpower52.adoraschpower53.adoraschpower54.adoraschpower55.adoraschpower56.adoraschpower58.adoraschpower59.adoraschres.adoraschres.hlpraschtest v8.10.1.adoraschtest.adoraschtest.hlpraschtestv7.adoraschtestv7.hlpraschtestv787.adoraschtestv7v8.10.1.adoraschtestv7v8.10.adoraschtestv7v88.adoraschtestv8.10.adoraschtestv86.adorel.adorepet.adorosali.adorosali.sthlprosali22.adorosali22.sthlprosali23.adorsbynpirt.adorsoort.adorsoort.hlprsoort11.ziprsoort12.adorsoort13.adorsoortBP.ados
old
sascfa.adosenspescore.adosf36fr v1.6.adosf36fr v1.7.adosf36fr.adosf36fr.hlpsf36fr.zipsf36fr1.4.adosf36fr1.5.adosf36frv13.adosimirt - Copie.adosimirt v4.1.adosimirt v4.2.adosimirt v4.3.adosimirt v4.4.adosimirt.adosimirt.hlpsimirt.zipt
tcm.adotestclv.adotodate.adotorumm.adotosas.adotraces v4.adotraces v5 avec items numeric ne marche pas - Copie.adotraces.adotraces.hlptraces3.adotraces32.adotraces33.adotri.adotrouve.ado
v
valid.adovalid.dlgvalid.hlpvalidscale.adovalidscale.ado (old)validscale.dlgvalidscale.hlpvalidscale.sthlpvalidscaleXX.ado
w
zip
backrasch2.zipclv214.zipdetect31.zipgammasym.zipgammasym22.zipgausshermite1.zipgeekel2d43.zipgengroup12.ziphcavar32.zipimputeitems.zipimputeitems24.zipimputemok21.zipimputerasch2.ziploevH.ziploevh8.zipmmsrm4.zipmohand.zipmsp.zipmsp81.zipnpirt.zipraschfit4.zipraschpower1.4.zipraschpower1.5.zipraschpower1.zipraschpower2.zipraschpower32.zipraschtest.zipraschtest8.zipraschtest86.zipraschtest87.zipraschtestv7.zipsf36fr13.zipsimirt.zipsimirt34.zipsimirt35.ziptraces33.zip
plus
_
_eststo.ado_eststo.hlp_get_mlogit_bv.ado_get_mlogit_bvecv.ado_peabbv.ado_pebase.ado_pebase.hlp_pecats.ado_pecats.hlp_peciboot.ado_peciboot.hlp_pecidelta.ado_pecidelta.hlp_peciml.ado_pecmdcheck.ado_pecollect.ado_pecollect.hlp_pedum.ado_pedum.hlp_peife.ado_peife.hlp_pemarg.ado_pemarg.hlp_penocon.ado_penocon.hlp_pepred.ado_pepred.hlp_perhs.ado_perhs.hlp_pesum.ado_pesum.hlp_petrap.ado_petrap.hlp_peunvec.ado_peunvec.hlp_pexstring.ado
a
b
bagroup.adobagroup.hlpbamat.adobamat.hlpbaplot.adobaplot.hlpbatplot.adobatplot.hlpbinolist.adobinolist.hlpblandaltman.adobollenstine.adobollenstine.sthlpbothlist.adobothlist.hlpbrant.adobrant.hlp
backup.trkc
caplog.adocaplog.hlpcase2alt.adocase2alt.hlpcfa1.adocfa1.hlpcfa1_lf.adocheckfor2.adocheckfor2.hlpchoplist.adochoplist.hlpcmdchk.adocollist.adocollist.hlpconcord.adoconcord.dlgconcord.hlpconfa.adoconfa.mataconfa.sthlpconfa_estat.adoconfa_estat.sthlpconfa_lf.adoconfa_lfm.adoconfa_p.adoconfirmdir.adoconfirmdir.hlpconvlist.adoconvlist.hlpcountfit.adocountfit.hlpcseplist.adocseplist.hlpcvarlist.adocvarlist.hlp
d
dellist.adodellist.hlpdelta.adodelta.hlpdifflist.adodifflist.hlpdiscrim2.adodiscrim2.hlpdropvars.adodropvars.hlp
e
elapse.adoelapse.hlpeq_g.hlpeqlist.adoeqlist.hlpespoisson.adoespoisson.hlpespoisson_ll.adoespoisson_p.adoestadd.adoestadd.hlpestout.adoestout.hlpestpost.adoestpost.hlpeststo.adoeststo.hlpesttab.adoesttab.hlpexspoisson.adoexspoisson_ll.adoexspoisson_p.ado
f
g
galbr.adogalbr.dlggalbr.hlpghquad.adoghquadm.adoghquadm.hlpgllam_ll.adogllamm.adogllamm.hlpgllapred.adogllapred.hlpgllarob.adogllas_yu.adogllasim.adogllasim.hlp
h
i
i2ci.adoicc23.adoicc23.hlpiccconf.adoiccconf.hlpice.adoice.hlpiclassr.adoiclassr.hlpiclassr2.adoiclassr2.hlpimputeitems.adoimputeitems.hlpinslist.adoinslist.hlpisvar.adoisvar.hlp
j
l
l1way.adol1way.hlplabbe.adolabbe.dlglabbe.hlplclist.adolclist.hlplconfa.mlibleastlikely.adoleastlikely.hlplistblck.adolistblck.hlplistcoef.adolistcoef.hlplistutil.hlplog2html.adolog2html.hlplog2html7.adolog2html7.hlplogout.adologout.hlp
m
maplist.adomaplist.hlpmeta.dlgmeta_dialog.hlpmetabias.adometabias.dlgmetabias.hlpmetacum.dlgmetafunnel.adometafunnel.dlgmetafunnel.hlpmetainf.adometainf.dlgmetainf.hlpmetan.adometan.dlgmetan.hlpmetan7.adometan7.dlgmetan7.hlpmetan_examples.adometaninf.adometaninf.dlgmetaninf.hlpmetannt.adometannt.dlgmetannt.hlpmetap.dlgmetareg.adometareg.dlgmetareg.hlpmetareg_ll.adometareg_p.adometareg_pm.adometatrim.dlgmhplot.adomicombine.adomicombine.hlpmijoin.adomijoin.hlpmisplit.adomisplit.hlpmisschk.adomisschk.sthlpmlogplot.adomlogplot.hlpmlogtest.adomlogtest.sthlpmlogview.adomlogview.hlpmnthlist.adomnthlist.hlpmvtab1.adomvtab1.hlp
n
nct.adonct.hlpnct2.adonct2.hlpnct2inv.adonct2inv.hlpnctinv.adonctinv.hlpnctn.adonctn.hlpnctncp.adonctncp.hlpnctprob.adonctprob.hlpnicenum.adonmlab.adonmlab.hlp
o
p
polych_ll.adopolychoric.adopolychoric.hlppolychoric.zippolychoricpca.adopolychoricpca.hlppolychoricpca.zippolyser_ll.adoposlist.adoposlist.hlppostlist.adopostlist.hlppraccum.adopraccum.hlpprchange.adoprchange.hlpprcounts.adoprcounts.hlpprdc.adoprdc.hlpprelist.adoprelist.hlpprgen.adoprgen.hlpprodlist.adoprodlist.hlpprtab.adoprtab.hlpprvalue.adoprvalue.hlpprwhich.ado
r
remcor.adoreop_ll.adoreopc_ll.adoreoprob.adoreoprob.hlpreplist.adoreplist.hlprevlist.adorevlist.hlprfpr_ll1.adorfprobit.adorfprobit.hlprotlist.adorotlist.hlp
s
sasexe.adosaswrapper.adosaswrapper.hlpsavasas.adosavasas.hlpsavastata.sassdpair.adosdpair.hlpseeout.adoseeout.hlpsellist.adosellist.hlpseqlist.adoseqlist.hlpshellout.adoshellout.hlpshortdir.adoshortdir.hlpsjlatex.adosjlatex.hlpsjlog.adosjlog.hlpsjlog_7.adosortlist.adosortlist.hlpspex.adospex.hlpspost.hlpspost_footer.ihlpspostupdate.adosublist.adosublist.hlpsumlist.adosumlist.hlp
stata.trkt
takelist.adotakelist.hlptmpdir.adotmpdir.hlptorumm.adotorumm.hlptraces.adotraces.hlptraj.adotraj.hlptraj.plugintrajplot.adotrajplot.hlptrnclist.adotrnclist.hlp
u
v
w
x
@ -1,185 +0,0 @@
|
||||
{smcl}
|
||||
{* 7May2013}{...}
|
||||
{hline}
|
||||
help for {hi:simirt}{right:Jean-Benoit Hardouin}
|
||||
{hline}
|
||||
|
||||
{title:Simulation of IRT models}
|
||||
|
||||
{p 8 14 2}{cmd:simirt} [, {cmdab:nbo:bs}({it:#})
|
||||
{cmdab:d:im}({it:# [#] [#]...}) {cmdab:mu}({it:# [#] [#]...}) {cmdab:cov}({it:# [# #]}) {cmdab:covm:atrix}({it:matrix})
|
||||
{cmdab:dif:f}({it:list_of_values_or_expression}) {cmdab:pcm}({it:matrix}) {cmdab:dis:c}({it:list_of_values})
|
||||
{cmdab:pmin}({it:list_of_values}) {cmdab:pmax}({it:list_of_values})
|
||||
{cmdab:acc}({it:list_of_values})
|
||||
{cmdab:rsm1}({it:list_of_values})
|
||||
{cmdab:rsm2}({it:list_of_values})
|
||||
{cmdab:thr:eshold}
|
||||
{cmdab:clear} {cmdab:sto:re}({it:filename}) {cmdab:id}({it:newvarname})
|
||||
{cmdab:rep:lace} {cmdab:pref:ix}({it:string}) {cmdab:draw} {cmdab:tit:le}({it:string})
|
||||
{cmdab:gr:oup}({it:#}) {cmdab:norand:om} {cmdab:del:tagroup}({it:#})])
|
||||
|
||||
{title:Description}
|
||||
|
||||
{p 4 8 2}{cmd:simirt} allows creating a new dataset of responses
|
||||
to items simulated by an unidimensional IRT model. The model can be
|
||||
dichotomous (Rasch, OPLM, Birnbaum, 3PLM, 4PLM, 5PAM) or polytomous (Rating
|
||||
Scale Model-RSM). It is possible to simulate two sets of items linked, for
|
||||
each of them, to a specific latent trait (who can be correlated).
|
||||
|
||||
{title:Options}
|
||||
|
||||
{p 4 8 2}{cmd:nbobs}({it:#}) specifies the number of individuals to simulate.
|
||||
By default, 2000 individuals are simulated.
|
||||
|
||||
{p 4 8 2}{cmd:dim}({it:# [#] [#]...}) specifies the number of items linked to the first
|
||||
latent trait (and optionally to the second one and so on). If this option is not defined,
|
||||
the {cmd:simirt} command simulates only one latent trait with a number of items
|
||||
equal to the number of values defined in the {cmd:diff} or in the {cmd:pcm} option (at least one of
|
||||
these three options must be defined).
|
||||
|
||||
{p 4 8 2}{cmd:mu}({it:# [#]}) specifies the mean(s) of each simulated latent
|
||||
trait(s).
|
||||
|
||||
{p 4 8 2}{cmd:cov}({it:# [# #]}) defines the covariance matrix of the latent
|
||||
trait(s). If there is only one latent, {cmd:cov} is composed of the variance of
|
||||
this one, else, {cmd:cov} is composed of the variance of the first latent,
|
||||
followed by the variance of the second latent trait, and of the covariance.
|
||||
|
||||
{p 4 8 2}{cmd:covmatrix}({it:matrix}) directly defines the covariance matrix of the latent
|
||||
trait(s). This option is required instead of the {cmd:cov} option as soon as the number
|
||||
of dimensions is greater than 2 (but this option could be used for one or two dimensions).
|
||||
|
||||
{p 4 8 2}{cmd:diff}({it:list_of_values_or_expression}) defines the values of the
|
||||
difficulty parameters as a list of values (with a number of elements equal to
|
||||
the total number of items), or as an expression like {it: uniform #A #B} (to
|
||||
define these parameters as uniformly distributed in {it:]#A;#B[)}, or like
|
||||
{it:gauss #M #V} (to define these parameters as the percentiles of the gaussian
|
||||
distribution with mean {it:#M} and variance {it:#V}). If there is two latent
|
||||
traits, the expressions are defined as {it:uniform #A1 #B1 #A2 #B2} and
|
||||
{it: gauss #M1 #V1 #M2 #V2}. If this option is not defined (but the {cmd:dim}
|
||||
option is), these parameters are defined among a standardized gaussian
|
||||
distribution.
|
||||
|
||||
{p 4 8 2}{cmd:pcm}({it:matrix}) defines a matrix containing as many rows as items and
|
||||
a column for each positive answer categorie. Elements of this matrix represents the
|
||||
difficulty parameters of the items in a Partial Credit Model.
|
||||
|
||||
{p 4 8 2}{cmd:disc}({it:list_of_values}) defines the discriminating values of
|
||||
the items (by default, these parameters are fixed to 1) [only for dichotomous items].
|
||||
|
||||
{p 4 8 2}{cmd:pmin}({it:list_of_values}) defines the minimal probability of
|
||||
positive responses for each item (by default, these parameters are fixed to 0)
|
||||
[only for dichotomous items].
|
||||
|
||||
{p 4 8 2}{cmd:pmax}({it:list_of_values}) defines the maximal probability of
|
||||
positive responses for each item (by default, these parameters are fixed to 1)
|
||||
[only for dichotomous items].
|
||||
|
||||
{p 4 8 2}{cmd:acc}({it:list_of_values}) defines the accelerating parameters
|
||||
for each item (by default, these parameters are fixed to 1) [only for dichotomous items].
|
||||
|
||||
{p 4 8 2}{cmd:rsm1}({it:list_of_values}) and {cmd:rsm2}({it:list_of_values}) defines
|
||||
the tau parameters corresponding to the difficulty parameters of the positive answer
|
||||
categorie for each item in a Rating Scale Model for the first scale ({cmd:rsm1}) or
|
||||
for the second scale ({cmd:rsm2}).
|
||||
|
||||
{p 4 8 2}{cmd:threshold} simulates the responses of each individuals directly from the latent trait.
|
||||
In a dichotomous model ({cmd:disc}, {cmd:pmin}, {cmd:pmax} and {cmd:acc} options are not allowed), the response
|
||||
1 if given as soon the latent trait of the individual is greater than the difficulty parameter of the item (defined with the {cmd:diff} option).
|
||||
In a polytomous model , an answer is given when the latent trait of the individual is greater than the
|
||||
difficulties corresponding to this answer.
|
||||
|
||||
{p 4 8 2}{cmd:clear} does not restore the initial dataset at the end of the
|
||||
command (at least one of the {cmd:clear} and {cmd:store} options must be defined).
|
||||
|
||||
{p 4 8 2}{cmd:id}({it:newvarname}) defines the name of the identifiant variable (id by default).
|
||||
|
||||
{p 4 8 2}{cmd:store}({it:filename}) defines the file where the new dataset will
|
||||
be stored (at least one of the {cmd:clear} and {cmd:store} options must be
|
||||
defined).
|
||||
|
||||
{p 4 8 2}{cmd:replace}, associated to {cmd:store}, allows replacing the file
|
||||
defined by {cmd:store}, if it already exist.
|
||||
|
||||
{p 4 8 2}{cmd:prefix}({it:string [string]}]) allows defining the prefix to use
|
||||
for the names of the items. The {it:string} cannot contain space(s). By default,
|
||||
the used prefix is "item" in the unidimensional case, and "itemA" and "itemB"
|
||||
in the bidimensional case. A number follows these prefixes.
|
||||
|
||||
{p 4 8 2}{cmd:draw}, in the unidimensional case, this option allows drawing the
|
||||
Items Characteristic Curves on a graph.
|
||||
|
||||
{p 4 8 2}{cmd:title} defines the title of the graphs.
|
||||
|
||||
{p 4 8 2}{cmd:group} defines, in the unidimensional case, two groups of patients, for
|
||||
example a "treated" group (coded 1) and a "reference" group (coded 0). {cmd:group}
|
||||
defines the expected rate of individuals of the first group. By default, the
|
||||
affectation in the two groups is randomly provided (see the {cmd:norandom} option).
|
||||
|
||||
{p 4 8 2}{cmd:norandom} allows affecting between the two groups the exact rates of individuals
|
||||
defined in the {cmd:group} option.
|
||||
|
||||
{p 4 8 2}{cmd:deltagroup} defines, in the unidimensional case, the difference between the
|
||||
means of the latent trait between the two groups defined by the {cmd:group} option. This
|
||||
option is disabled if the {cmd:group} option is not defined. The variance of the latent
|
||||
trait is considered as equal in the two groups.
|
||||
|
||||
{title:Outputs}
|
||||
|
||||
{p 4 8 2}{cmd:r(nbobs)}: Number of simulated individuals.
|
||||
|
||||
{p 4 8 2}{cmd:r(mean_#)}: Empirical mean of the #th latent trait.
|
||||
|
||||
{p 4 8 2}{cmd:r(var_#)}: Empirical variance of the #th latent trait.
|
||||
|
||||
{p 4 8 2}{cmd:r(cov_12)}: Empirical covariance between the two latent traits
|
||||
(if there is two simulated dimensions).
|
||||
|
||||
{p 4 8 2}{cmd:r(rho)}: Empirical correlation coefficient between the two latent
|
||||
traits (if there is two simulated dimensions).
|
||||
|
||||
{title:Examples}
|
||||
|
||||
{p 4 8 2}{cmd: . simirt , dim(7) clear} /*simulates data by a Rasch model*/
|
||||
|
||||
{p 4 8 2}{cmd: . simirt , diff(gauss 0 1) dim(7) disc(.8 1.2 1.4 .6 1.4 1.0 1.1) clear}
|
||||
/*simulates data by a Birnbaum model*/
|
||||
|
||||
{p 4 8 2}{cmd: . simirt , diff(uniform -2 3 0 1) dim(7 7) cov(2 4 1) clear}/*
|
||||
simulates data with a bidimensional latent trait*/
|
||||
|
||||
{p 4 8 2}{cmd: . simirt , dim(7) clear group(.5) deltagroup(1)} /*simulates
|
||||
data by a Rasch model, with two groups of approximate equal size of patients
|
||||
and a difference between the means of the latent trait for the two groups of 1*/
|
||||
|
||||
{p 4 8 2}{cmd: . simirt , dim(7) clear rsm(1 .5 .2)} /*Data simulated by a RSM. Each item
|
||||
has until 5 modalities*/
|
||||
|
||||
{title:Notes about the models}
|
||||
|
||||
{p 4 8 2}{bf:Rasch model}: By default, you can describe only the {cmd:diff} option.
|
||||
|
||||
{p 4 8 2}{bf:Birnbaum model and OPLM}: By default, the {cmd:diff} and the {cmd:disc} options must be defined.
|
||||
|
||||
{p 4 8 2}{bf:3-PLM}: By default, the {cmd:diff}, the {cmd:disc} and the {cmd:pmin} options must be defined.
|
||||
|
||||
{p 4 8 2}{bf:4-PLM}: By default, the {cmd:diff}, the {cmd:disc}, the {cmd:pmin} and the {cmd:pmax} options must be defined.
|
||||
|
||||
{p 4 8 2}{bf:5-PM}: The {cmd:diff}, the {cmd:disc}, the {cmd:pmin}, the {cmd:pmax} and the {cmd:acc} options must be defined.
|
||||
|
||||
{p 4 8 2}{bf:RSM}: The {cmd:rsm1} [and eventually the {cmd:rsm2}] option(s) must be defined. The {cmd:disc}, the {cmd:pmin}, the {cmd:pmax} and the {cmd:acc} options cannot be defined.
|
||||
|
||||
{p 4 8 2}{bf:PCM}: The {cmd:pcm} option must be defined. The {cmd:disc}, the {cmd:pmin}, the {cmd:pmax} and the {cmd:acc} options cannot be defined.
|
||||
|
||||
{title:Author}
|
||||
|
||||
{p 4 8 2}Jean-Benoit Hardouin, PhD, assistant professor{p_end}
|
||||
{p 4 8 2}EA 4275 "Team of Biostatistics, Pharmacoepidemiology and Subjective Measures in Health Sciences"{p_end}
|
||||
{p 4 8 2}University of Nantes - Faculty of Pharmaceutical Sciences{p_end}
|
||||
{p 4 8 2}1, rue Gaston Veil - BP 53508{p_end}
|
||||
{p 4 8 2}44035 Nantes Cedex 1 - FRANCE{p_end}
|
||||
{p 4 8 2}Email:
|
||||
{browse "mailto:jean-benoit.hardouin@univ-nantes.fr":jean-benoit.hardouin@univ-nantes.fr}{p_end}
|
||||
{p 4 8 2}Website {browse "http://www.anaqol.org":AnaQol}
|
||||
|
||||
|
Reference in New Issue
Block a user