Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USE RSTUDIO/R TO ANSWER THESE 4. (2 pts) In R, the largest integer is 231 1= 2147483647. See for example: > str(.Machine$integer.max) int 2147483647 >

USE RSTUDIO/R TO ANSWER THESE

image text in transcribed

4. (2 pts) In R, the largest integer is 231 1= 2147483647. See for example: > str(.Machine$integer.max) int 2147483647 > str(. Machine$integer.max + 1L) Warning in . Machine$integer.max + 1L: NAS produced by integer overflow int NA What is the largest possible (numerical) value in R? 5. (2 pts) What is the probability to observe exact 7 heads when a fair coin is tossed 10 times? The answer to this question is 11.72%. Use the following steps to verify this answer. Step 1: Use the sample() function to mimic a sequence of ten coin tosses. Step 2: Count the number of "heads in Step 1. Step 3: Repeat Steps 1 and 2 1,000 times. The average number of "heads find in Step 3 provides a valid approximation to the probability to observe exact 7 heads when a fair coin is tossed 10 times. Report your average in Step 3. 4. (2 pts) In R, the largest integer is 231 1= 2147483647. See for example: > str(.Machine$integer.max) int 2147483647 > str(. Machine$integer.max + 1L) Warning in . Machine$integer.max + 1L: NAS produced by integer overflow int NA What is the largest possible (numerical) value in R? 5. (2 pts) What is the probability to observe exact 7 heads when a fair coin is tossed 10 times? The answer to this question is 11.72%. Use the following steps to verify this answer. Step 1: Use the sample() function to mimic a sequence of ten coin tosses. Step 2: Count the number of "heads in Step 1. Step 3: Repeat Steps 1 and 2 1,000 times. The average number of "heads find in Step 3 provides a valid approximation to the probability to observe exact 7 heads when a fair coin is tossed 10 times. Report your average in Step 3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Publishing With Filemaker Pro On The Web

Authors: Maria Langer

1st Edition

0201696657, 978-0201696653

More Books

Students also viewed these Databases questions