graphs.txt problems
Posted: Fri Sep 27, 2013 2:35 pm
I'm trying to graph power curves after creating macros from MLPowSim. These are for power calculations for a two-level logistic regression model.
After inputting the relevant parameters into MLPowSim I have tried to open the resultant graphs.txt macro in MLwiN, as per the instruction manual. However, when I do this I get the following error message:
Run-time error ‘9’:
Subscript out of range
The macro code I'm trying to run is:
NOTE MLwiN macro code generated by MLPowSim
NOTE can be run after finishing execution to give graphs
GIND 1 1
GYCO c211
GXCO c210
GTYP 1
GCLR 1
CALC c251 = c211 - c251
GYER 1 c251
GYER 2 c251
GETY 1
GIND 1 2
GYCO c231
GXCO c210
GTYP 1
GCLR 9
CALC c291 = c231 - c291
CALC c311 = c311 - c231
GYER 1 c291
GYER 2 c311
GETY 1
Any guidance on where I may be going wrong would be appreciated.
David
After inputting the relevant parameters into MLPowSim I have tried to open the resultant graphs.txt macro in MLwiN, as per the instruction manual. However, when I do this I get the following error message:
Run-time error ‘9’:
Subscript out of range
The macro code I'm trying to run is:
NOTE MLwiN macro code generated by MLPowSim
NOTE can be run after finishing execution to give graphs
GIND 1 1
GYCO c211
GXCO c210
GTYP 1
GCLR 1
CALC c251 = c211 - c251
GYER 1 c251
GYER 2 c251
GETY 1
GIND 1 2
GYCO c231
GXCO c210
GTYP 1
GCLR 9
CALC c291 = c231 - c291
CALC c311 = c311 - c231
GYER 1 c291
GYER 2 c311
GETY 1
Any guidance on where I may be going wrong would be appreciated.
David