@@ -260,10 +260,10 @@ \subsection*{Verteilungen}
260
260
$ P(X \leq 1 )$ falls $ X \sim Unif(0 , 7 )$ \\
261
261
262
262
\pythoninline {st.uniform.pdf(x=1, loc=0, scale=7)} \\
263
- Dichte an der Stelle \textit {x } = 3 falls $ X \sim Unif(0 , 7 )$ \\
263
+ Dichte an der Stelle \textit {x } = 1 falls $ X \sim Unif(0 , 7 )$ \\
264
264
265
265
\pythoninline {st.uniform.rvs(size=3, loc=0, scale=7)} \\
266
- uniform verteilte Zufallszahlen, $ X_i \sim Unif(0 , 7 )$
266
+ uniform verteilte Zufallszahlen, $ X_i \sim Unif(0 , 7 )$ \\
267
267
268
268
\pythoninline {st.expon.cdf(x=4, loc=0, scale=1/3)} \\
269
269
$ P(X \leq 4 )$ falls $ X \sim Exp(3 )$ \\
@@ -275,10 +275,10 @@ \subsection*{Verteilungen}
275
275
$ P(X \leq 130 )$ falls $ X \sim \mathcal {N}(100 , 15 ^2 )$ \\
276
276
277
277
\pythoninline {st.norm.ppf(q=0.05, loc=100, scale=15)} \\
278
- Quantile einer Normalverteilung \\
278
+ 5 \% Quantile falls $ X \sim \mathcal {N}( 100 , 15 ^ 2 ) $ \\
279
279
280
280
\pythoninline {st.norm.cdf(x=1.5)} \\
281
- Standardnormalverteilung \\
281
+ $ P(X \leq 1.5 ) $ falls $ X \sim \mathcal {N}( 0 , 1 ^ 2 ) $ \\
282
282
283
283
\pythoninline {st.binom.cdf(k=5100, n=10000, p=0.5)} \\
284
284
$ P(X \leq 5100 )$ falls $ X \sim Bin(10000 , 0.5 )$ \\
@@ -318,22 +318,23 @@ \subsection*{Vertrauensintervall}
318
318
319
319
\pythoninline {st.norm.interval(alpha=0.99, loc=31, } \\
320
320
\pythoninline { scale=6/np.sqrt(10))} \\
321
- 99\% Vertrauensintervall einer Normalverteilung
321
+ 99\% Vertrauensintervall falls $ X \sim \mathcal {N}( 31 , 6 / \sqrt {10}) $
322
322
323
323
\subsection* {Statistische Tests }
324
324
\pythoninline {st.binom_test(x=3, n=5, p=0.5)} \\
325
325
Vorzeichentest mit \textit {x } Erfolge bei \textit {n } Versuchen \\
326
+ und einer Erfolgswahrscheinlichkeit von 50\% \\
326
327
327
328
\pythoninline {st.wilcoxon(arr, correction=True)} \\
328
329
Wilcoxon-Test \\
329
330
330
331
\pythoninline {st.ttest_rel(series1, series2)} \\
331
332
Statistischer Test für gepaarte Stichproben \\
332
333
333
- \pythoninline {st.ttest_ind(x, y , equal_var=False)} \\
334
+ \pythoninline {st.ttest_ind(series1, series2 , equal_var=False)} \\
334
335
Statistischer Test für ungepaarte Stichproben \\
335
336
336
- \pythoninline {st.mannwhitneyu(x, y )} \\
337
+ \pythoninline {st.mannwhitneyu(series1, series2 )} \\
337
338
Mann-Whitney U-Test (aka Wilcoxon Rank-sum Test) \\
338
339
339
340
\pythoninline {st.ttest_1samp(series, 1).pvalue} \\
@@ -360,7 +361,8 @@ \subsection*{Varianzanalyse}
360
361
361
362
\pythoninline {fit = ols("steak_id~Treatment", data=frame).fit()} \\
362
363
\pythoninline {fit.summary()} \\
363
- Gruppenmittelmodell berechnen \\
364
+ Gruppenmittelmodell berechnen zwischen der Id des \\
365
+ Steaks und der ausgeführten Behandlung \\
364
366
365
367
\pythoninline {fit_pred = fit.get_prediction()} \\
366
368
\pythoninline {fit_pred.conf_int()} \\
@@ -380,11 +382,13 @@ \subsection*{Varianzanalyse}
380
382
381
383
\pythoninline {formula = "Y ~ C(Methode, Sum) + C(Batch, Sum)" } \\
382
384
\pythoninline {fit = ols(formula, data=frame).fit()} \\
383
- Zweiweg-Varianzanalyse mit Blöcken \\
385
+ Zweiweg-Varianzanalyse mit Blöcken zwischen den \\
386
+ Datenspalten \textit {Methode } und \textit {Batch } \\
384
387
385
388
\pythoninline {formula = "Y ~ C(Konz, Sum) * C(Temp, Sum)" } \\
386
389
\pythoninline {fit = ols(formula, data=frame).fit()} \\
387
- Faktorielle Experimente mit zwei Faktoren
390
+ Faktorielle Experimente mit zwei Faktoren \\
391
+ Konzentration (\textit {Ko }) und Temperatur (\textit {Temp })
388
392
389
393
\subsection* {Zeitreihen }
390
394
\pythoninline {from statsmodels.tsa.seasonal } \\
@@ -399,7 +403,7 @@ \subsection*{Zeitreihen}
399
403
\pythoninline {col = frame["TravelDate"]} \\
400
404
\pythoninline {frame["TravelDate"] = pd.DatetimeIndex(col)} \\
401
405
\pythoninline {frame.set_index("TravelDate", inplace=True)} \\
402
- Datums-Index einer Zeitreihe setzen
406
+ Datums-Index einer Zeitreihe setzen \\
403
407
404
408
\pythoninline {frame["Passengers"].rolling(window=12).mean()} \\
405
409
Bewegendes Mittel (moving average) berechnen \\
0 commit comments