Section 3

# Section 3 - Statistics 107 Section#3 TF Kevin Liu Huang...

This preview shows pages 1–2. Sign up to view the full content.

Statistics 107, Section #3 TF: Kevin Liu Huang February 16, 2012 Section: Thursdays, 1-2pm in SC-110 Office Hours: Fridays, 11am-12pm in SC-601 E-mail: Submit homework to: Topics for Section - Testing for Normality: use jarque.bera.test() [tseries package] - General Simulation - Monte Carlo Sampling of Yearly Returns R Advice When trying to create a function that outputs varying results depending on the nature of the input (such as if it is greater than or equal to a certain number), you can use if else statements OR try the min/max function. Depending on which situation you are in, one might be more useful! To create a for loop , write out the code for a single simulation: what would you do if you had a single sample result and needed a result based purely on that? Write that code out first very carefully, then incorporate the for loop around it.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 4

Section 3 - Statistics 107 Section#3 TF Kevin Liu Huang...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online