100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Presentación

3. Introduction to R - Probability functions and Tables

Puntuación
5.0
(1)
Vendido
-
Páginas
65
Subido en
08-07-2018
Escrito en
2017/2018

Step by step walkthrough covering the use of the following functions rnorm() pnorm() rexp() pexp() pbinom() dbinom() ppois() table() tapply() sd() prop.table() Examples are provided along with questions and answers. link to sample data is provided in the presentation

Mostrar más Leer menos
Institución
Grado

















Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Grado

Información del documento

Subido en
8 de julio de 2018
Número de páginas
65
Escrito en
2017/2018
Tipo
Presentación
Personaje
Desconocido

Temas

Vista previa del contenido

Introduction to R –
Probabilities and tables
Link to the data used is provided

,Let’s start at the beginning
• Open RStudio; create a new script
• Clear R’s memory
• Set your working directory to the same folder you used for the oth
sessions

,Let’s start at the beginning
• Open RStudio; create a new script
• Clear R’s memory
rm(list=ls())

• Set your working directory to the same folder you used for the oth
sessions
setwd(“C:/Users/dtros/Documents/Using R/Session 1”)

,
,Probability Distributions
R has functions for a variety of probability distributions

,Function rnorm()
• To begin let’s find out what rnorm() is
• Bring up this functions help file

,
,Function rnorm()
• To begin let’s find out what rnorm() is
• Bring up this functions help file
• Were you able to do it? Remember that you can bring up a functio
help file using
?rnorm
• This is the last function in the list for ‘Normal Distribution’
• The description of rnorm() is as follows – rnorm() generates
random numbers that are from a normal distribution
• Run the following
x <- rnorm(100000, mean = 0, sd = 1)

,
, Function rnorm()
• Run the following
x <- rnorm(100000, mean = 0, sd = 1)

• As you can see, including spaces does not make a difference at this
point, as long as you have used the correct arguments and have
placed them in the correct order
• This line of code has produced 100 000 values from a standard
normal distribution; with a mean of 0 and a standard deviation of 1
$3.11
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor
Seller avatar
dominique13
4.3
(3)

Documento también disponible en un lote

Reseñas de compradores verificados

Se muestran los comentarios
6 año hace

5.0

1 reseñas

5
1
4
0
3
0
2
0
1
0
Reseñas confiables sobre Stuvia

Todas las reseñas las realizan usuarios reales de Stuvia después de compras verificadas.

Conoce al vendedor

Seller avatar
dominique13 University of Cape Town
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
7
Miembro desde
7 año
Número de seguidores
5
Documentos
21
Última venta
3 año hace

4.3

3 reseñas

5
1
4
2
3
0
2
0
1
0

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes