Assignment For Beginners With R

Posted Under: Data Analysis

Ask A Question
DESCRIPTION
Posted
Modified
Viewed 19
Assignment for beginners with R
Attachments
Page 1 of 5 Assignment 1 A researcher hypothesizes that the Gross Domestic Product (measured in millions of dollars) of a country is impacted by its percent Urban Population (measured as % of population living in Urban Areas), the region it is located in (Asia, Africa, Americas, Middle East or Europe), its yearly military expenditure (measured in millions of dollars), whether it is shares a border with its major trading partner (measured as 0 for no and 1 for yes). For each variable, you have to decide, given the above, whether it is 1) categorical or numeric (2 points), 2) Nominal, Ordinal or Interval (2 points) and 3) Dependent or Independent variable (2 points). Variable Categorical Numeric Nominal Ordinal Interval Dependent Variable Independent Variable Gross Domestic Product Urban Population Region Military Expenditure Share Border Page 2 of 5 Fill in the following frequency table (make sure your answers are in percents) Value Absolute Frequency Relative Frequency Cumulative Frequency 1 13 2 26 3 12 4 9 5 18 9 27 Express the following in Summation Notation, i.e., ෍? ? ? (If you are not going to use micro soft equation editor than write your answer as Sigma_{subscripts below sigma}^{subscripts above sigma}, i.e., Sigma_{?}^{?} ?) (3 points each) ଶଵݔ2 + ଶଶݔ2 + +ڮ ଻ଶݔ2 = ଵݔ െ 3.5 + ଶݔ െ 3.5 + ଷݔ െ 3.5 = Imagine the following variable ݔ௜ = {23 , 2 , 15 , 16 , 18 }. Evaluate the following expressions. Expand each of the following sums and evaluate if appropriate ( 3 points). σ ௜ே௜ୀଷݔ3 = σ ௜ଶ௜ୀଵݔ െ 22 = σ ௜ଶସ௜ୀଶݔ = Page 3 of 5 Table 1 (Make sure all answers are rounded up to 4 decimal points (where necessary) 5 2 4 1 4 5 1 2 1 0 - Calculate the Mode for the data in Table 1 (2 points) 0 1 1 1 2 2 4 4 5 5 Calculate the Median for the data in Table 1 (3 points) Calculate the Mean for the data in Table 1 ( 4 points) Calculate the Range for the data in Table 1 (2 points) Calculate the Variance for the data in Table 1 ( 4 points) (note you will get the wrong answer if you use a built in function on a computer program!) Calculate the Standard Deviation for the data in Table 1 (2 points) Page 4 of 5 Perform a cross tabulation on the following data Observation Gender Pet Owner 1 M YES 2 M YES 3 F NO 4 M NO 5 M YES 6 M YES 7 F NO 8 F YES 9 F YES 10 M YES Calculate the Total Percents (Answers must be in percents) (8 points each). Total Percents Gender F M Pet Owner No Yes Page 5 of 5 Row Percents Gender F M Pet Owner NO Yes Column Percents Gender F M Pet Owner No Yes
Explanations and Answers 0

No answers posted

Post your Answer - free or at a fee

Login to your tutor account to post an answer

Posting a free answer earns you +20 points.

Login

NB: Post a homework question for free and get answers - free or paid homework help.

Get answers to: Assignment For Beginners With R or similar questions only at Tutlance.

Related Questions