質問編集履歴
1
誤字があったので修正しました
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Rの信頼区間で"b
|
1
|
+
Rの信頼区間で"lb"がうまく実行できない
|
test
CHANGED
@@ -12,9 +12,9 @@
|
|
12
12
|
|
13
13
|
```
|
14
14
|
|
15
|
-
> cnt[i] <- ((b
|
15
|
+
> cnt[i] <- ((lb < mu) & (mu < ub))
|
16
16
|
|
17
|
-
Error: object 'b
|
17
|
+
Error: object 'lb' not found
|
18
18
|
|
19
19
|
|
20
20
|
|
@@ -46,9 +46,9 @@
|
|
46
46
|
|
47
47
|
> cnt <- logical(n)
|
48
48
|
|
49
|
-
> cnt[i] <- ((b
|
49
|
+
> cnt[i] <- ((lb < mu) & (mu < ub))
|
50
50
|
|
51
|
-
Error: object 'b
|
51
|
+
Error: object 'lb' not found
|
52
52
|
|
53
53
|
for (i in 1:n) {x <- rnorm(n, mean=mn, sd=sqrt(v))}
|
54
54
|
|