Get Instant Help From 5000+ Experts For
question

Writing: Get your essay and assignment written from scratch by PhD expert

Rewriting: Paraphrase or rewrite your friend's essay with similar meaning at reduced cost

Editing:Proofread your work by experts and improve grade at Lowest cost

And Improve Your Grades
myassignmenthelp.com
loader
Phone no. Missing!

Enter phone no. to receive critical updates and urgent messages !

Attach file

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Guaranteed Higher Grade!
Free Quote
wave
Statistics Course Assignments
Answered

Assignment 1: Boring's Histogram of Psychology Journals Expansion

1. Here are the data for Boring’s histogram of the expansion of psychology journals between 1890 and 1940 (data = journal volumes):

Use R to make a “barplot” of these data. Be sure to include a main title, a label on the x-axis,  and a label on the y-axis. Color the bars steel blue.  Include your code with your assignment.


2. Using R, enter the following two datasets into two variables:

Use R to create a scatterplot of the two variables. 

 

Add a linear trendline. Add a lowess line. 

 

What does the difference between the two lines tell you about the relationship between the  two variables?

 

3. a) Go to the Google Ngram Viewer. Set the date  range to 1940-2008, and simultaneously search the phrases psychological science, behavioral science, cognitive science, neuroscience (no “u” in “behavioral”). Copy and paste the resulting graph to your assignment.  

 

b) Describe the general pattern of relations between these phrases (e.g., Which phrases lead over which date ranges? When does each rise markedly from 0? What is the pattern of the successive peaks in the curves? Is there anything else of interest that you see?).  

 

c) When faced with a narrow but compelling dataset, it is tempting to over-interpret one’s finding. To what issues do you think one should be attentive here in order to avoid drawing  overly broad conclusions? (add “science” to the terms you are searching”) Can you add  an example or two to your graph to illustrate your points here?

 

d) Change the corpus to English Fiction, and change the dates to 1790-2008. Search the terms phrenology, hypnotism, mesmerism. Describe what you see (as in b above). Describe some ways in which you could change the search string to improve the search.

 

4. Get the NeopiIQ (fake) dataset that I showed you in class. (If the first column numbers the participants from 1 to 100, this can be removed by the R command NeopiIQ <- NeopiIQ[-1].)  Column 1 gives each participant’s sex. Columns 2 through 6 give scores on the “Big Five”  personality factors: neuroticism, extraversion, openness to experience, agreeableness, and  conscientiousness. Columns 7 and 8 are two IQ scores. Columns 9 and 10 give each participant’s  height and weight. Column 11 gives each participant’s interest in sports on a scale of 1-10.  

 

a) Use the “describe” function in the “psych” package of R to get summary statistics for the entire NeopiIQ dataset. Use the switch in “describe” to includes the IQR of each variable (see  help page for “describe”). Include the code and the output in your assignment.  

Assignment 2: Scatterplot of Datasets with Trendlines

 

b) What noteworthy differences do you notice among the distributions by examining the  output closely? Do any stand out from the others?  

 

c) Use the “subset” function in R to separate the men’s and women’s sports data into two new variables called “msports” and “fsports” (you may have to look up how to use “subset”  in R help or on the internet). Include your code in your assignment.  

 

d) Using these two new variables, create side-by-side notched boxplots of the men’s and women’s sports data. Color them blueviolet. Include the code and your plots in your  assignment (you may have to zoom the to make them legible).  

 

e) Examine your plots and interpret them (you may have to do a little research to understand what the notches mean and why one of them is slightly “folded”.) Describe the shape of each  distribution. How do they compare to each other? Does there appear to be a gender difference?  What general considerations might you be cautious about drawing this conclusion?  

 

f) There is an easier way to make side-by-side plots of this kind. Use the R command: boxplot(sports ~ sex, data=NeopiIQ). Adapt that method to create side-by-side notched  boxplots of the weight data, one for each sex. Color the plots “mediumorchid.”  

 

g) Describe the shapes of these two distributions and compare them to each other.

 

5. The following statistical graphic came from USA Today. It displays the results of a public opinion poll on what forms of payment Americans prefer for public roads. Evaluate the  quality of the visualization, noting in particular the good (if any) and bad (if any) aspects of  it that we discussed in class (from a statistician’s perspective).

6. This is a tough one. Be careful. In R, you can obtain the binomial probability of a given number of successes with the function “dbinom”. This function takes three arguments: the first gives the number of successes, the second gives the total number of events (successes + failures), and the third gives the probability of success on any single event. So, for instance  dbinom(2, size=10, prob=0.5) gives the probability of getting exactly two “heads” on 10  flips of a fair coin (0.04394531). 

 

Now, imagine a chess player who is rated better than only one-third of the other players in her division. She plays 15 matches against randomly selected opponents in her division and wins 10 of them. Using dbinom to conduct a one-tailed null hypothesis test (with ?=.05). On  the basis of your result, do you think that we should we adjust her rating upward? Justify  your answer. Include your R code and result.  

support
Whatsapp
callback
sales
sales chat
Whatsapp
callback
sales chat
close