Skip to main content

Questions tagged [statistics]

Statistics is the mathematical study of using probability to infer characteristics of a population from a limited number of samples or observations. Non-programming statistics questions are off-topic here, and they should be posted at https://stats.stackexchange.com instead.

1 vote
0 answers
10 views

How to evaluate whether the results of multiple games conform to the probability distribution of their respective states [migrated]

There are n games, and each game has a state after the start. Based on this state, the probability of the outcome of the game can be calculated. For example, there are 3 type of results, and the ...
keook monsk's user avatar
0 votes
0 answers
33 views

Bug in t.test {stats} function for paired/unpaired tests [duplicate]

The t.test function of stats package gives an error since the last update, when data are in wide format, the t.test works, but when we put data in vertical format, then the t.test gives an error, as ...
Joan Birules's user avatar
0 votes
1 answer
32 views

Extract a common mean for a split cohort with metafor

I want to calculate the mean of a variable X for an entire cohort, which has been divided into several subgroups; therefore, I want to code a Fixed Effect Model, using the mean of X for each subgroup, ...
san festein's user avatar
0 votes
1 answer
19 views

Single band multiple raster Exploratory Data Analysis (EDA) in R

I have single band 764 weekly raster files from 2009 to present. Using these files, I want to make seasonal exploratory data analysis (EDA) according to corresponding years. I need to know how I can ...
Farinz's user avatar
  • 1
0 votes
0 answers
28 views

Can you create an array/vector of arbitrary length in Mathematica/Wolfram language?

I am working on a small proof/demonstration of how the least squares method gives us the arithmetic mean. Wolfram Language 14.0.0 Engine for Microsoft Windows (64-bit) Copyright 1988-2023 Wolfram ...
William John Holden's user avatar
1 vote
1 answer
41 views

P-Value not matching test statistic in Kolmogorov–Smirnov test (stats.kstest)

I am trying to learn how to use the Kolmogorov–Smirnov test in scipy (stats.kstest). For a simple problem like the example in the documentation, the test statistic for the one sample test seems to be ...
BigGulpshuh's user avatar
0 votes
0 answers
12 views

Bayesian Analysis: "Probability as Prediction" vs. "Likelihood as Explanation"?

In Bayesian Analysis, to what degree(s) does: "Probability" mean prediction(s) of a future event(s), and "Likelihood" means an assessment of the cause(s) of a past event(s)? ...
Plane Wryter's user avatar
  • 1,369
-3 votes
0 answers
26 views

How is the params parameter specified in statsmodels.tsa.statespace.varmax.VARMAX.simulate?

I am trying to use the statsmodels.tsa.statespace.varmax.VARMAX.simulate method. I am familiar with the lag polynomial representation of VARMA models, but I am not sure how the params argument should ...
StackExchanger's user avatar
-1 votes
1 answer
23 views

What is the scatter plot of the numbers that i will provide

X. Y 780 90 350 87 920 95 1000 96 450 88 300 85 640 91 520 89 890 94 720 93 200 86 980 97 600 90 430 86 760 92 910 94 370 87 550 89 850 95 250 85 A scatter plot picture please help me with this ...
David Habits's user avatar
0 votes
0 answers
42 views

Calculate krippendorff's alpha with confidence interval for multilabel annotations in Python

I'm wondering how to correctly calculate Krippendorff's alpha with confidence intervals in a multilabel scenario and coding in Python. Multilabel/Single Label Krippendorff's alpha with NLTK NLTK ...
Vera Bernhard's user avatar
0 votes
0 answers
6 views

Statistics Problem related to two string match

I have two columns which has results of string match percentage now have to compare Model 1 and Model 2 that which model is more accurate Model 1 10 20 30 50 65 32 Model2 0 12 15 40 32 43 Have to ...
Aastha Sonker's user avatar
1 vote
2 answers
29 views

Getting a "NA/NaN/Inf in foreign function call" error when attempting to implement KNN using the class library

I tried to implement knn using the class package with the following code: KNN_build <- knn(train = who_training, test = who_validation, cl = who_training$Status, k = 5 ) The ...
kompprograms's user avatar
1 vote
0 answers
20 views

representative value of a distribution for Monte Carlo simulation

I have a monte carlo simulation that samples three independent variables from their respective (continuous and skewed) distribution. I need to fix one variable and only sample from the other two ...
Behzad Jamali's user avatar
-1 votes
1 answer
53 views

Bland-Altman plots [closed]

I need to make Bland-Altman plots, but I cannot find a good R or Python package for this. So far, I've found a single function in Statsmodels and another one in a package called Pingouin. But neither ...
Milad Shahidi's user avatar
0 votes
1 answer
25 views

Probability of visiting state k at least once during first n steps in finite state Markov Chain

Assuming a Markov Chain of $M$ states, and assuming starting from state $X_0$, I was wondering if there is a method to calculate the probability of visiting state $X_k$ at least once during first n ...
user25510587's user avatar

15 30 50 per page