GENPRES error design matrix

questions concerning analysis/theory using program PRESENCE

GENPRES error design matrix

Postby lucrezia » Sun Aug 22, 2010 6:22 am

Hello,

I am trying to use GENPRES to estimate precision and accuracy of my study design.
I have been trying to run the example by McKenzie on Ambystoma tigrinum but when I try to run the model psi(.)p(linear) as defined by:

proc estimate link=Logit varest=2nd Part;
model={psi(.)p(linear)};
group=1 Psi rows=1 cols=1 Square;
1;
group=1 p rows=1 cols=8 Square;
2 2 3 3 4 4 5 5;
design matrix constraints=5 covariate=3;
1 0 0;
0 1 0;
0 1 1;
0 1 2;
0 1 3;
blabel(1)=bpsi;
blabel(2)=b0;
blabel(3)=b1;
rlabel(1)=psi;
rlabel(2)=p;
rlabel(3)=p;
rlabel(4)=p;
rlabel(5)=p;

I get the following Error message:
ERROR - No covariates specified on DESIGN MATRIX statement. Exit code 30

As I copy/pasted the above command from the worked examples (attended McKenzie workshop on occupancy), I am not sure about what could be wrong with it..

Thanks for the help!

Regards,
Lucrezia
lucrezia
 
Posts: 4
Joined: Tue Jun 16, 2009 10:28 am
Location: Norway

Re: GENPRES error design matrix

Postby darryl » Sun Aug 22, 2010 6:26 pm

This is MARK syntax so you may also want to post the question there in case Gary has changed something since this example was developed. Nothing jumps out at me as wrong otherwise. You might want to check that GenPRES has been set to use MARK rather than PRESENCE.
darryl
 
Posts: 498
Joined: Thu Jun 12, 2003 3:04 pm
Location: Dunedin, New Zealand


Return to analysis help

Who is online

Users browsing this forum: No registered users and 3 guests