__Learning Journal activities__

__RECORD OF RESEARCH__

*Vocabulary and R functions*

We are now covering material that is not common knowledge, and it is now very important to include citations when you use an idea from another source (book, Internet, etc). Be sure to add a citation and reference entry for the definition questions below.

*What is an exponential distribution (include an APA citation)? ____*

In probability theory and statistics, the exponential distribution (also known as negative exponential distribution) is the probability distribution that describes the time between events in a Poisson point process, i.e. a process in which events occur continuously and independently at a constant average rate (en.wikipedia.org).

*When would you use an exponential distribution? _____________*

The **exponential distribution** is often concerned with the amount of time until some specific event occurs. For example, the amount of time from now until an earthquake occurs has an exponential distribution(**en.wikipedia.org****).**

*What is a binomial distribution (include an APA citation)?________*

In probability theory and statistics, the binomial distribution with parameters n and p is the discrete probability distribution of the number of successes in a sequence of n independent experiments **(en.wikipedia.org).**

*When would you use a binomial distribution? _________________*

The binomial distribution model allows us to compute the probability of observing a specified number of "successes" when the process is repeated a specific number of times i.e. in a set of patients and the outcome for a given patient is either a success or a failure.

*Task*

Run these commands in R, then use your own words to describe what the resulting numbers represent. You can get some information about the functions by using the help commands in R (such as ?pbinom to get information about the pbinom() command in R):

- pbinom(q=5, size=10, prob=1/6)

[1] 0.9975618

The function pbinom () returns the cumulative probability function for binomial distribution with parameters size n (10 in this case), with the probability of success = 1/6.

Prefix p provides the probability (based on area under the distribution curve) of a given observation falling below a specified value, deduced based on the area under the distribution curve to the left of the specified value.

*b)*

n=10

p=.5

x=9

pbinom(x, n, p)

**[1] 0.9990234**

This function is the same as the previous function (for determining cumulative probability distribution value for Binomial distribution) except that in this case the values of x, n and p are separately assigned.

punif(5, min=1, max=10) - punif(4, min=1, max=10)*c)*

**[1] 0.1111111**

The function punif() provides cumulative density function for a uniform distribution (it gives the area to the left of value 5 for a given uniform distribution with minimum value of 1 and maximum 10)

If we separately run these commands then firstly the area to the left of x=5 is computed and then area to the left of x=4 is computed.

Then the difference between the area of these two values (x=5 and x=4) will provide the area between these two numbers.

References,

Yakir, B. (2011). *Introduction to Statistical Thinking (With R, Without Calculus)*. Jerusalem, IL: The Hebrew University of Jerusalem, Department of Statistics.

Exponential distribution. Retrieved from. https://en.wikipedia.org/wiki/Exponential_distribution

Assignment Writing Help

- Science Assignment Help
- Math Assignment Help
- Chemistry Assignment Help
- Physics Assignment Help
- Biology Assignment Help
- Psychology Assignment Help
- History Assignment Help
- Geography Assignment Help
- English Assignment Help
- Humanities Assignment Help
- Nursing Assignment Help
- Social Science Assignment Help
- Arts and Architecture Help
- Statistics Assignment Help
- Law Assignment Help
- Computational Mathematics Assignment Help

Engineering Assignment Services

- Programming Assignment Help
- Database Help
- Data Structure Assignment Help
- Operating Systems Assignment Help
- Computer Network Assignment Help
- UML Diagram Assignment Help
- IT Assignment Help
- Game Programming Help
- Computer Science Assignment Help
- Information Systems Assignment Help
- Chemical Engineering Assignment Help
- Civil Engineering Assignment Help
- Electrical, Electronics Help
- Mechanical Engineering Assignment Help
- Petroleum Engineering Assignment Help
- Biochemical and Biotechnology Help

Do My Assignment Help

- Accounting Assignment Help
- Finance Assignment Help
- Economics Assignment Help
- Marketing Assignment Help
- Human Resources Assignment Help
- Operations Management Assignment Help
- Strategy and Planning Help
- Project Management Help
- Case Studies Writing Help
- Political science
- Referencing Help
- Assignment Help Websites
- Online Assignment Help
- Do My Assignment
- Do My Homework
- Health Informatics

Write My Essay Services

- Essay Writing Help
- Business Essay Writing Help
- Assignment Writing Services
- Plagiarism Free Essay Writing
- Essay Editing Service
- Dissertation Writing Services
- Thesis Writing Help
- Custom Writing Help
- Write My Essay
- Write My Paper
- Paper Writing Service
- Academic Writing Help
- College Essay Writing
- Cheap Essay Writing