Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2013-10-20
帖子: 1
声望力: 0 ![]() |
![]()
各位先進前輩,小弟最近在學習這套軟體,在學習過程中遇到問題,
還請各位先進前輩教導一下 •EXAMPLE: Generate an Normal distribution with mean = 1 and standard deviation = 3 –plot pdf and cdf function –Determine P( -1<x<2) –Generate 2000 samples •Plot histogram •Plot distribution •Compare distribution with pdf •Example: Generate 2000 random numbers with a triangle pdf –Generate 2000 random numbers using uniform random generation “runif (2000,0,1)” –Use following cdf function to generate –Plot histogram, Plot distribution |
![]() |
![]() |