Psychology of Perception
Psychology of Perception PSYC 4165
Popular in Course
Popular in Psychlogy
This 1 page Class Notes was uploaded by Megane Sauer on Thursday October 29, 2015. The Class Notes belongs to PSYC 4165 at University of Colorado at Boulder taught by Staff in Fall. Since its upload, it has received 25 views. For similar materials see /class/232030/psyc-4165-university-of-colorado-at-boulder in Psychlogy at University of Colorado at Boulder.
Reviews for Psychology of Perception
Report this Material
What is Karma?
Karma is the currency of StudySoup.
Date Created: 10/29/15
Psychology of Perception Lewis 0 Harvey Jrrlnstructor Psychology 41657100 Clare SimseAssistant Spring 2009 MUEN D156 093071045 TR Using the R Statistical Computer Program R is a powerful statistical computer program that is freely available under the General Public License GPL It runs under Unix and Linux Microsoft Windows and Macintosh OS 9 and X operating systems To download your own copy go here httpwwwr pr0ject0rg To get started go here httpwwwstatmethodsnet Below are R commands in bold used to solve some of the math skills questions that are on the syllabus The hash marks are comments to clarify what is going on Question 3 x lt c10 9 12 11 85 13 8 10 7 115 create data vector meanx compute the mean of the numbers in x sdx compute the standard deviation Question 4 obs lt c174 172 104 92 41 8 observed data prd lt c1755 1678 1065 904 443 65 predicted data p lt prdsumprd predicted frequencies to probabilities chisqtestobs pp do the chi square test Question 5 There are two ways to test the hypothesis t test or ANOVA They will give exactly the same results tAZ F Step 1 make a data frame with three columns Make the subject levels and dependent variable vectors and Now assemble the factors and data into a data frame Sj lt factorcccusolu usozuuse3u uso4uusesu quot506quotquotsoquotuseauquot509quot quot51ou iv lt factorCrepC12 each 5 indep factor with 2 levels dv lt c80 90 75 70 85 100 95 110 90 105 dep var df lt dataframesj iv dv Step 2 compute a t test for two independent groups withdf ttestdviv 1 dinv 2 paired FALSE Step 3 compute and print the ANOVA comparing the two levels of the independent variable iv summaryCaodev iv data df Step 4 print summary table in nice format xbar lt tapplyCdv iv mean holds the means sdev lt tapplydv iv sd holds the standard deviations numb lt tapplyCdv iv length holds the number of samples cbindeeanxbar stddevsdev nnumb Question 6 qnorm08413447 convert probability to z score 1 pnorm1959964 convert z score to probability pnorm1959964 lowertai1 FALSE another way to get upper tail Questions 7 amp 8 x lt c10 30 50 70 90 x data vector y lt c41 99 161 22 279 y data vector df lt dataframex y put x and y vectors into a data frame reg lt 1my x data df compute the regression summaryreg prints summary of the regression plotdf plots graph of data ablinereg plots the regression line Page l