Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Loading...
Loading...
User Settings
close menu
Welcome to Scribd!
Upload
Read for free
FAQ and support
Language (EN)
Sign in
0 ratings
0% found this document useful (0 votes)
17 views
R
Uploaded by
Cristian Rojas Tapia
r
Copyright:
© All Rights Reserved
Available Formats
Download
as DOCX, PDF, TXT or read online from Scribd
Download
Save
Save R For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
R
Uploaded by
Cristian Rojas Tapia
0 ratings
0% found this document useful (0 votes)
17 views
14 pages
Document Information
click to expand document information
r
Copyright
© © All Rights Reserved
Available Formats
DOCX, PDF, TXT or read online from Scribd
Share this document
Share or Embed Document
Sharing Options
Share on Facebook, opens a new window
Facebook
Share on Twitter, opens a new window
Twitter
Share on LinkedIn, opens a new window
LinkedIn
Share with Email, opens mail client
Email
Copy link
Copy link
Did you find this document useful?
0%
0% found this document useful, Mark this document as useful
0%
0% found this document not useful, Mark this document as not useful
Is this content inappropriate?
Report
r
Copyright:
© All Rights Reserved
Available Formats
Download
as DOCX, PDF, TXT or read online from Scribd
Download now
Download as docx, pdf, or txt
Save
Save R For Later
0 ratings
0% found this document useful (0 votes)
17 views
14 pages
R
Uploaded by
Cristian Rojas Tapia
r
Copyright:
© All Rights Reserved
Available Formats
Download
as DOCX, PDF, TXT or read online from Scribd
Save
Save R For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download as docx, pdf, or txt
Jump to Page
You are on page 1
of 14
Search inside document
R version 3.6.
0 (2019-04-26) -- "Planting of a Tree"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
R version 3.6.0 (2019-04-26) -- "Planting of a Tree"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> x<-seq(0,100,by=1) > y<-dweibull(x,shape = 2.5,scale=1) > plot(x,y,main=' función
de densidad Weibull',col='blue')
Error in dweibull(x, shape = 2.5, scale = 1) : object 'x' not found
> x<-seq(0,100,by=1) > y<-dweibull(x,shape = 2.5,scale=1) > plot(x,y,main=' función
de densidad Weibull',col='blue')
Error in dweibull(x, shape = 2.5, scale = 1) : object 'x' not found
> x<-seq(0,100,by=1) >
+ y<-dweibull(x,shape = 2.5,scale=1) > plot(x,y,main='
+ función de densidad Weibull',col='blue')
Error in dweibull(x, shape = 2.5, scale = 1) : object 'x' not found
> x<-seq(0,100,by=1)
> > y<-dweibull(x,shape = 2.5,scale=1)
Error: unexpected '>' in ">"
> plot(x,y,main=' función de densidad Weibull',col='blue')
Error in xy.coords(x, y, xlabel, ylabel, log) : object 'y' not found
> > y<-dweibull(x,shape = 2.5,scale=1)
Error: unexpected '>' in ">"
> plot(x,y,main=' función de densidad Weibull',col='blue')
Error in xy.coords(x, y, xlabel, ylabel, log) : object 'y' not found
> y<-dweibull(x,shape = 2.5,scale=1)
>
> plot(x,y,main=' función de densidad Weibull',col='blue')
> plot(x,y,type=1,main=' función de densidad Weibull',col='blue')
Error in plot.xy(xy, type, ...) : tipo de gráfico inválido
> plot(x,y,type=1,main=' función de densidad Weibull',col='blue')
Error in plot.xy(xy, type, ...) : tipo de gráfico inválido
> plot(x,y,type='1'',main=' función de densidad Weibull',col='blue')
Error: unexpected string constant in " plot(x,y,type='1'',main='"
> plot(x,y,main=' función de densidad Weibull',col='blue')
> plot(x,y,main=' función de densidad Weibull',col='blue')
>
> mrank.observation <- function (j, f){
+ # slimmed-down version of
+ # Weibulltoolkits mrank.observation()
+ r <- qbeta(0.5, j, f - j + 1);r}
> mrank.data <- function (data = NULL){
+ # slimmed-down version of
+ # Weibulltoolkits mrank.data()
+ n <- nrow(data)
+ data$rank <- rank(data$ob, ties.method =
+ "first")
+ data$rrank <- (n + 1 - data$rank)
+ sdata <- data[order(data$rank), ]
+ sdata$arank <- sdata$rank
+ sdata$mrank <-
+ mrank.observation(sdata$arank, n)
+ data <- sdata[!is.na(sdata$mrank), ];data}
> d <- data.frame(ob=c(149971, 70808, 133518,
+ 145658, 175701, 50960, 126606, 82329), state=1)
> d <- m
Error: object 'm' not found
> mrank.observation <- function (j, f){
+ # slimmed-down version of
+ # Weibulltoolkits mrank.observation()
+ r <- qbeta(0.5, j, f - j + 1);r}
> mrank.data <- function (data = NULL){
+ # slimmed-down version of
+ # Weibulltoolkits mrank.data()
+ n <- nrow(data)
+ data$rank <- rank(data$ob, ties.method =
+ "first")
+ data$rrank <- (n + 1 - data$rank)
+ sdata <- data[order(data$rank), ]
+ sdata$arank <- sdata$rank
+ sdata$mrank <-
+ mrank.observation(sdata$arank, n)
+ data <- sdata[!is.na(sdata$mrank), ];data}
> d <- data.frame(ob=c(149971, 70808, 133518,
+ 145658, 175701, 50960, 126606, 82329), state=1)
> d <- m
Error: object 'm' not found
> mrank.observation <- function (j, f){
+ # slimmed-down version of
+ # Weibulltoolkits mrank.observation()
+ r <- qbeta(0.5, j, f - j + 1);r}
> mrank.data <- function (data = NULL){
+ # slimmed-down version of
+ # Weibulltoolkits mrank.data()
+ n <- nrow(data)
+ data$rank <- rank(data$ob, ties.method =
+ "first")
+ data$rrank <- (n + 1 - data$rank)
+ sdata <- data[order(data$rank), ]
+ sdata$arank <- sdata$rank
+ sdata$mrank <-
+ mrank.observation(sdata$arank, n)
+ data <- sdata[!is.na(sdata$mrank), ];data}
> d <- data.frame(ob=c(149971, 70808, 133518,
+ 145658, 175701, 50960, 126606, 82329), state=1)
> d <- mrank.data(d)
> mrank.observation <- function (j, f){
+ # slimmed-down version of
+ # Weibulltoolkits mrank.observation()
+ r <- qbeta(0.5, j, f - j + 1);r}
> mrank.data <- function (data = NULL){
+ # slimmed-down version of
+ # Weibulltoolkits mrank.data()
+ n <- nrow(data)
+ data$rank <- rank(data$ob, ties.method =
+ "first")
+ data$rrank <- (n + 1 - data$rank)
+ sdata <- data[order(data$rank), ]
+ sdata$arank <- sdata$rank
+ sdata$mrank <-
+ mrank.observation(sdata$arank, n)
+ data <- sdata[!is.na(sdata$mrank), ];data}
> d <- data.frame(ob=c(149971, 70808, 133518,
+ 145658, 175701, 50960, 126606, 82329), state=1)
> d <- mrank.data(d)
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> x<-seq(0,100,by=1) y<-dweibull(x,shape = 2.5,scale=1) plot(x,y,main=' función de
densidad Weibull',col='blue')
Error: unexpected symbol in "x<-seq(0,100,by=1) y"
> x<-seq(0,100,by=1)
> y<-dweibull(x,shape = 2.5,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,100,by=1)
> y<-dweibull(x,shape = 12.5,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,100,by=1)
> y<-dweibull(x,shape = 2.5,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,100,by=1)
> y<-dweibull(x,shape = 1,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,100,by=1)
> y<-dweibull(x,shape = 1,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,100,by=1)
> y<-dweibull(x,shape = 1,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
>
> x<-seq(0,100,by=1)
> y<-dweibull(x,shape = 1,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,100,by=1)
> y<-dweibull(x,shape = 2.5,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> m <- 100
> x <- rweibull3(10,3,1,m)
Error in rweibull3(10, 3, 1, m) : could not find function "rweibull3"
> dweibull3(x,3,1,m)
Error in dweibull3(x, 3, 1, m) : could not find function "dweibull3"
> dweibull(x-m,3,1)
[1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[59] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0
> m <- 100
> x <- rweibull3(10,3,1,m)
Error in rweibull3(10, 3, 1, m) : could not find function "rweibull3"
> dweibull3(x,3,1,m)
Error in dweibull3(x, 3, 1, m) : could not find function "dweibull3"
> dweibull(x-m,3,1)
[1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
[59] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0
> x<-seq(0,100,by=1)
> y<-dweibull(x,shape = 2.5,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,100,by=1)
> y<-dweibull(x,shape = 2.5,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,100,by=1)
> y<-pweibull(x,shape = 2.5,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,100,by=1)
> y<-pweibull(x,shape = 1,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,100,by=1)
> y<-pweibull(x,shape = 0.5,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,10,by=1)
> y<-pweibull(x,shape = 0.5,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,10,by=1)
> y<-pweibull(x,shape = 3.44,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,10,by=1)
> y<-dweibull(x,shape = 3.44,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,5,by=1)
> y<-dweibull(x,shape = 3.44,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
>
>
>
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1.5,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Weibull density")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(alpha~'=1.5'), expression(alpha~'=2'),
expression(alpha~'=2.5'), expression(alpha~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Pdf Weibull density with"," ",theta,"=100"," ", "and
varying shape")))
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,1.5,3,0.5)
Error in seq.default(1, 1.5, 3, 0.5) : too many arguments
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Weibull density")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(alpha~'=1.5'), expression(alpha~'=2'),
expression(alpha~'=2.5'), expression(alpha~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Pdf Weibull density with"," ",theta,"=100"," ", "and
varying shape")))
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Weibull density")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(alpha~'=1.5'), expression(alpha~'=2'),
expression(alpha~'=2.5'), expression(alpha~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Pdf Weibull density with"," ",theta,"=100"," ", "and
varying shape")))
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(alpha~'=1.5'), expression(alpha~'=2'),
expression(alpha~'=2.5'), expression(alpha~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(alpha~'=2'),
expression(alpha~'=2.5'), expression(alpha~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> z<- seq(0,5,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(1,1,1)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> z<- seq(0,5,by=1)
>
> scaleparam <- seq(1,1,1)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 1), ylim=c(0,2), type = "l",
ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 1), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
> x<-seq(0,100,by=1)
> y<-dweibull(x,shape = 2.5,scale=1)
> plot(x,y,type="l",main=' función de densidad Weibull',col='blue')
>
> x<-seq(0,100,by=1)
> y<-dweibull(x,shape = 2.5,scale=1)
> plot(x,y,type="l",main='densidad Weibull',col='blue')
> z<- seq(0,5,by=1)
>
> scaleparam <- seq(1,1,1)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 1), ylim=c(0,2), type = "l",
ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 1), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
> x<-seq(0,100,by=1)
> y<-dweibull(x,shape = 2.5,scale=1)
> plot(x,y,type="l",main='densidad Weibull',col='blue')
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
> x<-seq(0,5,by=1)
> y<-dweibull(x,shape = 3.44,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> x<-seq(0,5,by=1)
> y<-dweibull(x,shape = 3.44,scale=1)
> plot(x,y,main=' función de densidad Weibull',col='blue')
> > pweibull(0.75, 4.5, scale = 4^(1/4.5), lower.tail = F)
Error: unexpected '>' in ">"
> pweibull(0.75, 4.5, scale = 4^(1/4.5), lower.tail = F)
[1] 0.9337898
> qweibull(0.95, 4.5, scale = 4^(1/4.5), lower.tail = F)
[1] 0.7032956
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> d=rnorm(30,100,10)
> d
[1] 129.50470 88.32339 82.45394 113.29551 92.69636 97.11771 93.39016 82.67420
[9] 85.87423 107.11103 91.84818 100.51692 105.04535 109.41092 106.68480 91.08723
[17] 104.21868 92.35605 101.81670 117.81351 95.40163 98.40876 104.02924 115.38454
[25] 105.35638 107.34114 86.16715 97.76077 102.02714 93.09185
> hist(d)
> mean(d)
[1] 99.94027
> sd(10)
[1] NA
> sd(d)
[1] 10.91679
> boxplot(d)
> help norm()
Error: unexpected symbol in "help norm"
> help norm(d)
Error: unexpected symbol in "help norm"
> m=mean(d)
> s=sd(d)
> ks.test(d,"pnorm",m,s)
One-sample Kolmogorov-Smirnov test
data: d
D = 0.092415, p-value = 0.9391
alternative hypothesis: two-sided
> z<- seq(0,400,by=1)
>
> scaleparam <- seq(50,200,50)
> shapeparam <- seq(1,3,0.5)
>
> # varying the shape parameter
> plot(z, dweibull(z, shape = shapeparam[1], scale = 100), ylim=c(0,0.012), type =
"l", ylab = "Densidad Weibull")
>
> for(k in 2:length(shapeparam)){
+ lines(z,dweibull(z,shape = shapeparam[k], scale = 100), col = k)
+ }
>
> legend("topright", c(expression(beta~'=1'), expression(beta~'=2'),
expression(beta~'=2.5'), expression(beta~'=3')), lty=1, col = 1:4)
> title(substitute(paste("Densidad Weibull")))
> pnorm(0.975)
[1] 0.8352199
> qtukey()
Error in qtukey() : argument "p" is missing, with no default
> qtukey()
Error in qtukey() : argument "p" is missing, with no default
>
>
> qt(0.975,29)
[1] 2.04523
> num=mean(d)-500
> den=sd(d)/sqrt(30)
> ec=num/den
> ec=num/den
> ec
[1] -200.7199
>
You might also like
Haskell 03
Document
3 pages
Haskell 03
Марина Жуковская
No ratings yet
BDA Assignment Aman 19019
Document
38 pages
BDA Assignment Aman 19019
aman
No ratings yet
R For Machine Learning Lab Practical Work: Master of Business Administration in Business Analytics
Document
9 pages
R For Machine Learning Lab Practical Work: Master of Business Administration in Business Analytics
Gishnu Raj
0% (1)
RSCH8079 - Session 09 - Data Science With R
Document
69 pages
RSCH8079 - Session 09 - Data Science With R
Dinne Ratj
No ratings yet
List Code Project Assessment Using R
Document
12 pages
List Code Project Assessment Using R
Hazel Rahmaddio
No ratings yet
Digital Assignment-6: Read The Data
Document
30 pages
Digital Assignment-6: Read The Data
Pavan Karthikeya
No ratings yet
RLAB KP
Document
16 pages
RLAB KP
Akshay Hebbar
No ratings yet
19MIA1001-FUNDAMENTALS OF DATA ANALYTICS Lab1
Document
11 pages
19MIA1001-FUNDAMENTALS OF DATA ANALYTICS Lab1
Roshan
No ratings yet
Rapfish Functions.r
Document
5 pages
Rapfish Functions.r
Cecilia Fauziah
No ratings yet
Da Session 4
Document
75 pages
Da Session 4
Deemat
No ratings yet
Bab Iii, Iv, V Fix
Document
27 pages
Bab Iii, Iv, V Fix
Nela Muetz
No ratings yet
Super Advanced Python PDF
Document
120 pages
Super Advanced Python PDF
Shreyas Waghmare
No ratings yet
Regresión Potencial Generado en Python: Agosto Del 2020
Document
5 pages
Regresión Potencial Generado en Python: Agosto Del 2020
EDGAR ANDERSON VILCAPOMA DE LA CRUZ
No ratings yet
10-Visualization of Streaming Data and Class R Code-10!03!2023
Document
19 pages
10-Visualization of Streaming Data and Class R Code-10!03!2023
G Krishna Vamsi
No ratings yet
Data Science Programming Lab Assessment-6: Importing The Packages and Loading The Dataset
Document
16 pages
Data Science Programming Lab Assessment-6: Importing The Packages and Loading The Dataset
Ktm Chandru
No ratings yet
Lab 1 22.7
Document
40 pages
Lab 1 22.7
385swayam
No ratings yet
80838581
Document
9 pages
80838581
ikhwancules46
No ratings yet
R Lab Programs
Document
19 pages
R Lab Programs
mdqhizar1211125
No ratings yet
Practical
Document
22 pages
Practical
786chetan
No ratings yet
Program 1a
Document
5 pages
Program 1a
Knock Knock
No ratings yet
Bvarsv Replication
Document
13 pages
Bvarsv Replication
Rene Barrera
No ratings yet
R-Lab p-4,2,1
Document
12 pages
R-Lab p-4,2,1
Hafsa Lateef
No ratings yet
Probabilitas & Statsitika: Bayu Widodo, ST MT
Document
8 pages
Probabilitas & Statsitika: Bayu Widodo, ST MT
Muhammad Ilham Nugraha
No ratings yet
R Programming
Document
9 pages
R Programming
ouahib.chafiai1
No ratings yet
Tarea de Ciencia de Datos
Document
32 pages
Tarea de Ciencia de Datos
Leomaris Ferreras
No ratings yet
R
Document
38 pages
R
ankit_jolly_2
No ratings yet
R Lectures 2
Document
31 pages
R Lectures 2
BINH LUONG BAO
No ratings yet
Basic R Programming
Document
37 pages
Basic R Programming
SDM
No ratings yet
Komstat S2 - Tugas M6 - Kel 5 - Devi-Diego-Djihan-Wulaida
Document
6 pages
Komstat S2 - Tugas M6 - Kel 5 - Devi-Diego-Djihan-Wulaida
Devi Azarina Manzilir Rohmah
No ratings yet
R Program Record Book Iba
Document
24 pages
R Program Record Book Iba
TEJASWINI
No ratings yet
RSQLML Final Slide 15 June 2019 PDF
Document
196 pages
RSQLML Final Slide 15 June 2019 PDF
Thanthirat Thanwornwong
No ratings yet
Da Lab It
Document
20 pages
Da Lab It
akanshatiwari9642
No ratings yet
R Programming Solvw
Document
45 pages
R Programming Solvw
moinpashaa96
No ratings yet
Practical No 1 Aim
Document
17 pages
Practical No 1 Aim
Prachi Borlikar
No ratings yet
Inbound 5026737750908520217
Document
6 pages
Inbound 5026737750908520217
Rishi
No ratings yet
R File New
Document
22 pages
R File New
adangijaat
No ratings yet
Codigos R
Document
12 pages
Codigos R
Carlos Lizárraga Robles
No ratings yet
Programming With R: Lecture #4
Document
34 pages
Programming With R: Lecture #4
Shubham Patidar
No ratings yet
R Code ECON Proj
Document
10 pages
R Code ECON Proj
Nora Soualhi
No ratings yet
R Programming PDF
Document
128 pages
R Programming PDF
Boppudi Naga Siva Kiran
No ratings yet
R Programming PDF
Document
128 pages
R Programming PDF
Boppudi Naga Siva Kiran
No ratings yet
R Practical File (Gautam-21074)
Document
22 pages
R Practical File (Gautam-21074)
Kumail Ali Khan
No ratings yet
Introduction To R
Document
11 pages
Introduction To R
Maddy Il
No ratings yet
Chrimera Pwned by Skelly
Document
36 pages
Chrimera Pwned by Skelly
d0c Offline
No ratings yet
Cardio Screen RF
Document
27 pages
Cardio Screen RF
The Mind
100% (1)
18 3 24 Upto Week 6 A B Latest 1
Document
25 pages
18 3 24 Upto Week 6 A B Latest 1
volterbtc00
No ratings yet
Benchmarks On Lahman Batting Data: Define Two Functions To Compare The Two Methods
Document
3 pages
Benchmarks On Lahman Batting Data: Define Two Functions To Compare The Two Methods
Luisa Fernanda Rojas
No ratings yet
NEWCOST Practicals
Document
25 pages
NEWCOST Practicals
Akshay Pawar
No ratings yet
Fuzzy Set
Document
20 pages
Fuzzy Set
Mohshin Khan
No ratings yet
R Studio Practicals-1
Document
29 pages
R Studio Practicals-1
rajshukla7748
No ratings yet
Assignment 11-17-15: Michael Petzold November 19, 2015
Document
4 pages
Assignment 11-17-15: Michael Petzold November 19, 2015
mikey p
No ratings yet
Discrete Math Ass2
Document
3 pages
Discrete Math Ass2
phuongnha922017
No ratings yet
R-Unit 2
Document
81 pages
R-Unit 2
sanjayyalla4661
No ratings yet
Python Widgets
Document
3 pages
Python Widgets
AM
No ratings yet
Matlab (By# Muhammad Usman Arshid) : Q#1 Command Window
Document
39 pages
Matlab (By# Muhammad Usman Arshid) : Q#1 Command Window
laraib mirza
No ratings yet
Python Crash Course by Ehmatthes 15
Document
2 pages
Python Crash Course by Ehmatthes 15
alfonsofdez
No ratings yet
Codes Workshop
Document
13 pages
Codes Workshop
iqra mumtaz
No ratings yet
DV - Unit-5 - Advance DV
Document
10 pages
DV - Unit-5 - Advance DV
Shaishav Parekh
No ratings yet
Ex-07 DS
Document
5 pages
Ex-07 DS
shizuka shizuka
No ratings yet
The Essential R Reference
From Everand
The Essential R Reference
Mark Gardener
No ratings yet
SSF Computer Level 10 PDF
Document
7 pages
SSF Computer Level 10 PDF
tekendra nath
No ratings yet
DSC QB Ia-1 (2023-24)
Document
3 pages
DSC QB Ia-1 (2023-24)
satyanarayanje5
No ratings yet
ALM15 - Import Test Cases PDF
Document
7 pages
ALM15 - Import Test Cases PDF
Thinakaran Unix
No ratings yet
Cake Ordering System
Document
9 pages
Cake Ordering System
Bharath Kannan
No ratings yet
03-TA80 CONF030 ExtendingEntities
Document
37 pages
03-TA80 CONF030 ExtendingEntities
athiraviswanath02
No ratings yet
Mech ANM 18.0 M02A Creep Curve Fitting in MAPDL v1
Document
17 pages
Mech ANM 18.0 M02A Creep Curve Fitting in MAPDL v1
Halyna Hafiychuk
No ratings yet
Guidelines For Installing The Add-In Program & Datasets
Document
5 pages
Guidelines For Installing The Add-In Program & Datasets
최원아 경제 19
No ratings yet
C10G E071 PDF
Document
28 pages
C10G E071 PDF
Thejeswar
No ratings yet
Revit Tutorial - MB 86 ST - Panel Doors - EN
Document
5 pages
Revit Tutorial - MB 86 ST - Panel Doors - EN
WHOISKA ?
No ratings yet
OBTLP - CC 2104 - Applications Development and Emerging Technologies
Document
6 pages
OBTLP - CC 2104 - Applications Development and Emerging Technologies
Joselle A. Banocnoc
No ratings yet
FedEx Ship Manager Server V 17.0.1 Installation and Configuration Guide
Document
184 pages
FedEx Ship Manager Server V 17.0.1 Installation and Configuration Guide
ibarrglez
No ratings yet
Microsoft Azure, Dynamics and Online Services - ISO 27017 Certificate (12.23.2022)
Document
19 pages
Microsoft Azure, Dynamics and Online Services - ISO 27017 Certificate (12.23.2022)
EGUIZABAL NUÑEZ JORGE
No ratings yet
How To Upgrade From Red Hat Enterprise Linux 6
Document
3 pages
How To Upgrade From Red Hat Enterprise Linux 6
vijju vijay
No ratings yet
Java Programming UNIT-4: Thread
Document
22 pages
Java Programming UNIT-4: Thread
uddagiri sirisha
No ratings yet
Citing A PHD Thesis Bibtex
Document
7 pages
Citing A PHD Thesis Bibtex
jedod0nelit3
100% (2)
PLC Programming With RSLogix 500 Excerpt PDF
Document
28 pages
PLC Programming With RSLogix 500 Excerpt PDF
marcelofilgueiras
100% (2)
Siemens Field Instruments Catalog 2012
Document
54 pages
Siemens Field Instruments Catalog 2012
lfrn2004
No ratings yet
Facial Expression Recognition
Document
20 pages
Facial Expression Recognition
llb749
67% (3)
AS01 Create Asset Master Record
Document
11 pages
AS01 Create Asset Master Record
YTB Researcher
No ratings yet
Mad Unit 4 (A)
Document
32 pages
Mad Unit 4 (A)
varsha reddy
No ratings yet
A Study On Customer Satisfaction Towards Neuromarketing PPT 2091021
Document
12 pages
A Study On Customer Satisfaction Towards Neuromarketing PPT 2091021
Kodees Waran
No ratings yet
Emco Winnc Sinumerik 810 820 Turning
Document
62 pages
Emco Winnc Sinumerik 810 820 Turning
enamicul50
No ratings yet
Machine Learning Approach To Select Optimal Task Scheduling Algorithm in Cloud
Document
16 pages
Machine Learning Approach To Select Optimal Task Scheduling Algorithm in Cloud
Kaouther Benali
No ratings yet
Vacuum Cleaner g10 Manual
Document
6 pages
Vacuum Cleaner g10 Manual
V58
No ratings yet
Instruction Manual: FAST/TOOLS R10.04 Service Pack 2 Release Notes
Document
18 pages
Instruction Manual: FAST/TOOLS R10.04 Service Pack 2 Release Notes
sagar_ovhal
No ratings yet
DxDiag System Information
Document
32 pages
DxDiag System Information
William Andreas
No ratings yet
Ieee Research Paper On Big Data
Document
8 pages
Ieee Research Paper On Big Data
tus0zaz1b1g3
100% (1)
Search vs. Hashing
Document
55 pages
Search vs. Hashing
Harish ram
No ratings yet
Arabic Optical Character Recognition Software A Review
Document
15 pages
Arabic Optical Character Recognition Software A Review
zaki zaki
No ratings yet
Fioa0402u 16
Document
4 pages
Fioa0402u 16
mcsec
No ratings yet
Documents
Teaching Methods & Materials
Mathematics