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.
statistics
16,466
questions
0
votes
1
answer
23
views
Z-Score as measurement of diverging values
I've been trying to use the z-score to filter out odd values in python. For the calculation I've used the version scipy is offering, vs calculating it myself using numpy and the mean and std functions....
1
vote
1
answer
39
views
Hurdle Poisson Post Estimation - Partial Effects
I have run a Poisson Hurdle model and I'm using the following syntax for the partial effects for the Zero and the Count part of the model. I'm using the effects package at the moment which may not be ...
1
vote
1
answer
91
views
How to calculate the z-score with replicates?
I have data from an essay. The assay was performed for 6 different cell culture conditions (columns) and for 6 genes (rows). However, it was also performed 5 times per each gene (for statistical ...
1
vote
2
answers
27
views
Aggregation Method in Classification
There is a set of objects to be classified into n classes. Each class has its own coefficient.
For example:
class coefficient
1 0.5
2 0.7
N 0.4
I arranged ...
0
votes
0
answers
15
views
How to Fix Issues in R Code for Metropolis-Hastings Algorithm Applied to Gumbel Type II Distribution?
I am trying to implement the Metropolis-Hastings (M-H) algorithm in R to sample from the posterior distribution of a Gumbel Type II distribution. However, I'm encountering issues with my ...
0
votes
0
answers
26
views
leverage of new predicted value
I would like to find the leverage of the new predicted values in my regression. Below is an example code
how would I be able to find the leverage for the 2 new predicted values ?
data("mtcars&...
0
votes
0
answers
21
views
Generating Equation for randomisation of a long sequence for finding pairwise distance repeats
I am making a python code. I am generating a equation to do permutation. We want to analyze repeats in one sequence of pairwise distance and randomize it and calculate the probability which sequence ...
1
vote
0
answers
21
views
How to work on block randomization in R for dynamic inputs from MS-Excel
I am a novice in R programming and have been trying to work on block randomization using the blockrand package.
The steps required are as follows:
In an MS-Excel file, we have four columns - Patient ...
1
vote
0
answers
27
views
EdgeR DGE Matrix: Help Understanding Comparison / Contrast
I'm doing some differential expression analysis between two conditions (= Timepoint) and I'm including biological covariates in my design. I want to analyse further if differences between Timepoint ...
0
votes
0
answers
16
views
Likelihood ratios not distributed as a chi2 distribution with the correct dof (Wilk's theorem)
I perform Bayesian inference on a mixture model such that, μ is the mixture weight for a feature in the mixture
p(x|μ,theta) = μ p_feature(x|theta) + (1-μ) p_nofeature(x|theta).
I calculate T(μ) = \...
0
votes
1
answer
15
views
Correlation of two vectors - numpy.corrcoef vs convolve method
I have two numpy arrays and I want to compute their correlation. I'm using the numpy.corrcoef, but I also wanted to do this by applying convolution, but I get completely different results. What am I ...
3
votes
4
answers
90
views
Rename function in Python
Now I'm trying to learn about pandas package in python.
but using rename function, I have some problem.
mushroom = pd.read_csv('./mushroom/agaricus-lepiota.data', header=None)
mushroom ...
0
votes
1
answer
48
views
Error in finding quartiles and outliers in R Studio
So I am doing a university project and I am trying to find outliers in a dataset with 722 rows and 9 columns so there are over 6000 variables.
I have been trying many ways:
Firstly with Z scores where ...
0
votes
0
answers
11
views
Difference between DSEM and Latent Trajectory with Structured Residuals
I am having a find time understanding the difference between Dynamic Structural Equation Modelling (Asparouhov et al., 2018) and Latent Trajectory with Structured Residuals (Curran et al., 2014). I am ...
3
votes
1
answer
54
views
Bootstrapped confidence intervals for predicted data shows overlap when fixed effects do not
Note: This might be more appropriate for Cross Validated, and I'm fine moving it over there if requested, but I thought I would try here first since it could be r-related.
I am comparing growth curve ...