I'm really confused about how to do the JB test and Lillertest for this question.

3 次查看(过去 30 天)
The height (cm) and weight (kg) for 100 students randomly selected from a middle school are provided below.
a) Plot the data and visually inspect them. Test whether they come from a normal distribution using both Jarque-Bera test (jbtest) and Lilliefors test (lillietest) at a significance level of 5%.
b) Based on these data, give both point estimates and 95% confidence intervals for the height and weight of all students.
Height/Weight
172 75
171 62
166 62
160 55
155 57
173 58
166 55
170 63
167 53
173 60
178 60
173 73
163 47
165 66
170 60
163 50
172 57
182 63
171 59
177 64
169 55
168 67
168 65
175 67
176 64
168 50
161 49
169 63
171 61
178 64
177 66
170 58
173 67
172 59
170 62
172 59
177 58
176 68
175 68
184 70
169 64
165 52
164 59
173 74
172 69
169 52
173 57
173 61
166 70
163 57
170 56
160 65
165 58
177 66
169 63
176 60
177 67
172 56
165 56
166 49
171 65
169 62
170 58
172 64
169 58
167 72
175 76
164 59
166 63
169 54
167 54
179 62
175 68
182 69
186 77
166 76
169 72
173 59
169 65
171 71
167 47
168 65
165 64
168 57
176 57
170 57
158 51
165 62
172 53
169 66
169 58
172 50
162 52
175 75
174 66
167 63
166 50
172 63
168 62
171 58
  2 个评论
William Rose
William Rose 2023-3-2
@Henry Xu, this does not appear to be a Matlab question. It appears to be a homework question. I think you are more likely to get help elsewhere.
Star Strider
Star Strider 2023-3-2
@William Rose — It would appear that @Henry Xu simply needs to read and understand the documentation for the two functions. No further help from us (or anyone else here) is required.

请先登录,再进行评论。

回答(1 个)

Sai Sumanth Korthiwada
Hi Henry,
Please go through the documentation of jbtest and lillietest to understand about those tests. You can also leverage the examples related to 'jbtest' and 'lillietest' here:
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Hypothesis Tests 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by