Dear all,
I am trying to use the command pc_simulate from the package PC_PANEL.
I get a "syntax error" whatever I try.
Here is an example:
clear
set obs 100
gen id = _n
gen dep1 = rnormal(10,1)
gen dep2 = dep1+rnormal(0,10)
reshape long dep, i(id) j(time)
pc_simulate dep , model(ANCOVA) mde(0.1) i(id) t(time) n(32) p(0.5) pre(1) post(1) alpha(0.05) ///
nsim(10) replace
OUTPUT:
invalid syntax
r(198);
end of do-file
r(198);
I absolutely don't find the error and your help would be greatly appreciated.
Related Posts with pc_simulate invalid syntax error
Marginal effect*Dear community! I have conducted ordered probit regression with 10 categories DV and I would like to…
-mixed- Unable to achieve convergence of 3-level modelHello! I am studying the association between product quality measured by expert intermediary (overa…
Excluding a city when calculating the value for the cityDear Stalist, I would like to as for help with stata code. I would like to calculate a variable Ma…
Predicted probability for each DV outcomeDear community! How to create a table for predicted probability effect of each IV on each DV outcome…
Use mimix command for cross-sectional dataHi everyone, I'm interested in applying the reference-based sensitivity analyses using multiple impu…
Subscribe to:
Post Comments (Atom)
0 Response to pc_simulate invalid syntax error
Post a Comment