Hello,
I'm trying to develop a script to automate several data analysis tasks. One of them is to automatically find the distribution of a data set and then run a simulation with that distribution's parameters.
I have most pieces in place except I am not sure how to use the parameters I saved from the distribution in the Profiler simulation.
After the distribution code, I save the parameters as follows:
parameterOne=distReport["Overall Y-A-P20"][outlinebox("? " || distNameOne)]["Parameter Estimates"][NumberColBox(1)];
will this save all the values for the entire column?? I know if I use ...[NumberColBox(1)][1]; it will save the 1st row, how do you save the values for an unknown number of rows?
Second question: Can I simply use this variable "parameterOne" in the profiler as such...
Eval(Parse(EvalInsert("\[
Profiler(
Y( Column(3) ),
Profiler(
1,
Term Value(
Name( "Overall Y-A-P20" )(227.01),
Name( "Overall X-B-P2" )(324.6375)
),
Simulator(
1,
Factors(
Name( "Overall Y-A-P20" ) << Random(
^distNameOne^( parameterOne )
),
Name( "Overall X-B-P2" ) << Random(
^distNameTwo^( parameterTwo )
)
),
Responses( Combined << No Noise )
)
)
)
]\")));
I have tried doing this with no success. No error codes, but the profiler isn't using the correct parameters.
Thanks for your help and patience with my amature jsl skills.