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
Change in variance time seriesHi everyone, I am analysing a time series (stock returns) and I am trying to check whether variance…
xtivreg , first failes with "conformability error" r(503)Dear Readers xtivreg without "first" runs fine, but fails when I add the "first" option with "confo…
How to assess if there is enough variation in your dependent variableIs there a simple way to assess if there is enough variation in your dependent variable, or is it be…
New version of wridit on SSCThanks as always to Kit Baum, a new version of the wridit package is now available for download from…
Split String Code: clear input HAVE WANT1 WANT2 AA01 AA 01 AZ02 AZ 02 AV03 AV 03 AA04 AA 0…
Subscribe to:
Post Comments (Atom)
0 Response to pc_simulate invalid syntax error
Post a Comment