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.

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....
mayen's user avatar
  • 122
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 ...
Terrie's user avatar
  • 13
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 ...
Marta's user avatar
  • 11
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 ...
elizabeth's user avatar
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 ...
Carlos Souto Dos Santos Filho's user avatar
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&...
AshleyCrasto's user avatar
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 ...
Amen Shamim's user avatar
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 ...
RBR's user avatar
  • 11
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 ...
Elizabeth Mist's user avatar
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(μ) = \...
malavika v vasist's user avatar
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 ...
Niutoniano's user avatar
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 ...
John Philips's user avatar
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 ...
mabski's user avatar
  • 143
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 ...
user25368242's user avatar
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 ...
Emily Phillips's user avatar

15 30 50 per page
1
3 4
5
6 7
1098