# Chap7b - = WRITEPRN "c:\slicecop\newdat6.prn" (...

This preview shows page 1. Sign up to view the full content.

Modified Version of Exercise II that Illustrates How Data Can be Generated from a Modified, Asymmetric, Distribution u sst jj , rnd 1 ( ) = v ssss jj , rnd 1 ( ) = ss 0 n 1 - .. = un sst jj , u sst jj , ( 29 1 - = ww ss jj , .6745tan π u ss jj , 0.5 - ( 29 = ww ss jj , 0.54980ln u ss jj , 1 u ss jj , - ( 29 1 - = ww ss jj , Re 2 ln un ss jj , ( 29 cos 2 π v ss jj , ( 29 ( 29 = ww ss jj , 0.54980 ln u ss jj , ( 29 K ln 1 u ss jj , - ( 29 ( 29 -   = unif ss 0 , pmix rnd 1 ( ) - = jjj 0 1 .. = j 0 1 .. = ww ss jj , 2 ln un ss 0 , ( 29 cos 2 π v ss 0 , ( 29 ( 29 = ww ss 0 , small μ Φ unif ss 0 , ( 29 large μ Φ unif ss 0 , - ( 29 + small σ Φ unif ss 0 , ( 29 large σ Φ unif ss 0 , - ( 29 + ( 29 ww ss 0 , + = ww 1 ⟨ ⟩ μ 2 σ 2 ρ ww 0 ⟨ ⟩ 1 ρ 2 - ww 1 ⟨ ⟩ + ( 29 + = ww 0 ⟨ ⟩ μ 1 σ 1 ww 0 ⟨ ⟩ ( 29 + = WRITEPRN "c:\slicemet\newdat6.prn" ( 29 ww
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: = WRITEPRN "c:\slicecop\newdat6.prn" ( 29 ww = MATHCAD PROGRAM TO SIMULATE DATA AND CALCULATE COMMON STATISTICS n 998 = pmix = small μ = large μ = small σ 1 = large σ 1 = ssss n 1-.. = μ 1 = σ 1 1 = μ 2 = σ 2 1 = ρ-= jj 1 .. = ssss n 1-.. = sst n 1-.. = K 3 = Change this value to Different positive numbers And Use SLICE to Determine How the choice of K Is related to the shape of The estimated density curve Place this line of code in your Program. Set these parameters To standard 0 for p, μ and ρ , 1 for σ, values....
View Full Document

## This note was uploaded on 02/04/2011 for the course PB HLTH 140 taught by Professor Tarter during the Fall '10 term at Berkeley.

Ask a homework question - tutors are online