Study Guides (248,496)
Canada (121,595)
Psychology (952)
PSYC 2040 (15)
Quiz

monte carlo assignment

11 Pages
68 Views
Unlock Document

Department
Psychology
Course
PSYC 2040
Professor
Dan Meegan
Semester
Fall

Description
Running Head: MONTE CARLO ASSIGNMENT sim1 n(mean,sd)samplesize Given these population conditions, the test appears to be ROBUST because actual alpha (507/10000=0.0507) falls within a fairly stringent 10% of the desired nominal alpha (that is, between 0.0450 and 0.0550). 507-rejections 0.05070- actual alpha p=.o5 GET DATA /TYPE=TXT /FILE="C:\Documents and Settings\mackug.CSAHS-UGLS- TEST\Desktop\MC2G_meanssim1.dat" /DELCASE=LINE /DELIMITERS="," /ARRANGEMENT=DELIMITED /FIRSTCASE=2 /IMPORTCASE=ALL /VARIABLES= sample F3.0 mean1 F8.5 mean2 F8.5 sd1 F7.5 sd2 F7.5 diff F8.5 sediff F7.5 n1 F2.0 n2 F2.0. CACHE. EXECUTE. DATASET NAME DataSet1 WINDOW=FRONT. COMPUTE t_obs=diff / sediff. EXECUTE. GRAPH /HISTOGRAM=t_obs. MONTE CARLO ASSIGNMENT [Type text] Figure1 Results for simulation of the Monte Carlo Simulation(N=10,000 simulations) MONTE CARLO ASSIGNMENT [Type text] sim 2 Given these conditions, actual alpha (588/10000=0.0588) is INFLATED (using the fairly stringent criterion of Bradley, 1978) because it is over 0.055. That is, it is more than 10% greater than the desired nominal alpha (0.05). 588-rejections 0.05880- actual alpha GET DATA /TYPE=TXT /FILE="C:\Documents and Settings\mackug.CSAHS-UGLS- TEST\Desktop\MC2G_meansim2.dat" /DELCASE=LINE /DELIMITERS="," /ARRANGEMENT=DELIMITED /FIRSTCASE=2 /IMPORTCASE=ALL /VARIABLES= sample F3.0 mean1 F8.5 mean2 F8.5 sd1 F7.5 sd2 F7.5 diff F8.5 sediff F7.5 n1 F2.0 n2 F2.0. CACHE. EXECUTE. DATASET NAME DataSet2 WINDOW=FRONT. COMPUTE t_obs=diff / sediff. EXECUTE. GRAPH /HISTOGRAM=t_obs. MONTE CARLO ASSIGNMENT [Type text] Figure2 Results for simulation of the Monte Carlo Simulation(N=10,000 simulations) MONTE CARLO ASSIGNMENT [Type text] sim 3 Given these population conditions, the test appears to be ROBUST because actual alpha (512/10000=0.0512) falls within a fairly stringent 10% of the desired nominal alpha (that is, between 0.0450 and 0.0550). 512- rejections 0.05120- actual alpha DATASET ACTIVATE DataSet2. DATASET CLOSE DataSet1. GET DATA /TYPE=TXT /FILE="C:\Documents and Settings\mackug.CSAHS-UGLS- TEST\Desktop\MC2G_meansim3.dat" /DELCASE=LINE /DELIMITERS="," /ARRANGEMENT=DELIMITED /FIRSTCASE=2 /IMPORTCASE=ALL /VARIABLES= sample F3.0 mean1 F8.5 mean2 F8.5 sd1 F7.5 sd2 F7.5 diff F8.5 sediff F7.5 n1 F2.0 n2 F2.0. CACHE. EXECUTE. DATASET NAME DataSet3 WINDOW=FRONT. COMPUTE t_obs=diff / sediff. EXECUTE. GRAPH /HISTOGRAM=t_obs. MONTE CARLO ASSIGNMENT [Type text] Figure3 Results for simulation of the Monte Carlo Simulation(N=10,000 simulations) Sim 4 Given these conditions, actual a
More Less

Related notes for PSYC 2040

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit