1 / 6

Bits and peices

This guide explores various output saving options for statistical modeling, focusing on the strengths and weaknesses of each method. We discuss using the sink() function for capturing script outputs, its integration at the script's start and end, and the flexibility in formatting. Additionally, we cover confidence intervals available for estimated parameters, specifically how to utilize the mxCI function effectively. For long-running models, checkpointing is highlighted as a strategy to save interim results, aiding in recovery after a crash and maximizing workflow efficiency.

nathan
Télécharger la présentation

Bits and peices

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Bits and peices Sarah Medland

  2. Options for saving output • Save the workspace • Pros • Saves everything • You can make changes to the model • Cons • Saves everything • Not secure…

  3. Options for saving output • Using sink() • At the beginning of the script • sink (“filename", split=TRUE) • At the end of the script • sink ()

  4. Confidence intervals • Available for estimated parameters & algebra • mxCI(c(‘matrix',‘item')) • Include this in the model • Can get only upper or lower if you want • Can chose the interval – default is 95% • Include Intervals=TRUE on the run line • Remember that these are ML CIs

  5. Checkpointing • Good for long running models • Write out the results every n iterations/minutes • If your model crashes use the check pointed values for start values

  6. Vienna

More Related