Open dill opened 8 years ago
No luck when I consult the D6.2R1 manual. Chapter on MCDS Engine reference shows this table as list of valid commands in the options section
Here is MCDS command file for plain old geographic stratification applied to the minke whale dataset. No use of a stratification
option.
-- Start of Analyis Engine Log File --
This is mcds.exe version 6.2.0
Options;
Type=Line;
Length /Measure='Nautical mile';
Distance=Perp /Measure='Nautical mile';
Area /Units='Square nautical mile';
Object=Single;
SF=1;
Selection=Specify;
Confidence=95;
Print=Selection;
End;
Data /Structure=Flat;
Fields=STR_LABEL, STR_AREA, SMP_LABEL, SMP_EFFORT, DISTANCE;
Infile=C:\Users\erexstad\AppData\Local\Temp\dst762A.tmp /NoEcho;
Data will be input from file - [...]APPDATA\LOCAL\TEMP\DST762A.TMP
End;
Dataset has been stored.
Estimate;
Distance /Nclass=7 /Width=1.5 /Left=0;
Density=All;
Density=Stratum /Design=Strata /Weight=Area;
Encounter=Stratum;
Detection=Stratum;
Size=Stratum;
Estimator /Key=HA /Adjust=CO /NAP=0;
Monotone=Strict;
Pick=AIC;
GOF;
Cluster /Bias=GXLOG;
VarN=Empirical;
End;
That's all I could find in the manual too...
For example, I see the following for Post-stratified E(s)_strat f(0)_regr
analysis in D70Cluster solutions
:
> model_definitions[[3]]
[1] "Engine=CDS;"
[2] "Options;"
[3] "Stratification=Post-stratify /LayerType=30 /FieldName=Cluster strat;"
[4] "Sample /LayerType=20;"
[5] "Selection=Specify;"
[6] "Confidence=95;"
[7] "Print=Selection;"
[8] "End;"
[9] "Data /Structure=Flat;"
[10] "End;"
[11] "Estimate;"
[12] "Distance;"
[13] "Density by All;"
[14] "Density by Stratum /Design=Strata /Weight=None;"
[15] "Encounter by Stratum;"
[16] "Detection by Stratum;"
[17] "Size by Stratum;"
[18] "Estimator /Key=HA /Adjust=CO /NAP=0;"
[19] "Monotone=Strict;"
[20] "Pick=AIC;"
[21] "GOF;"
[22] "Cluster /Bias=GXLOG;"
[23] "VarN=Empirical;"
[24] "End;"
So I'm not sure how this interacts with the rest of DISTANCE or what the possible options for this command are...
I will look into these commands, I can easily generate all the options from a tester project
hi @dill here are a few screen shots of the MCDS distance interface which might make things a little clearer. This is a tester project which means that the model definition that is stored in the Distance database is displayed on the right.
@dill I think we were chatting about how the estimates were combined the other day too... there are options on this as well:
Digging around in the NEngineInterface (the part of Distance that takes the model definition and turns it in to the code that actually does the analysis) I found the following:
'\ Commands not to write out Case "Engine", "Stratification", "Sample", _ "DataSelection", "CovariateData"
I can't find documentation for the
STRATIFICATION
command in the Distance 7.0A manual. This command appears in theOPTIONS
section of the MCDS input file.