instruction stringlengths 9 38.7k |
|---|
Hi
I feel a little bit confused about transforming the parameters of normal distribution to log normal.
I have a random variable that is N(0.06,0.000144). Because this random variable cannot take negative values, I want to use an equivalent lognormal distribution.
I calculated the mu (location parameter) as -2.83 and ... |
gling with the interpretation of the coefficients of a zero-inflation model and I find no clear answer in the net. Maybe someone can help me and other people in the same situation.
After fitting cancer incidences through a Poisson regression with zero-inflation (zeroinfl package in R), in the logistic component, the co... |
I have a fairly predictable daily time series with weekly seasonality. I am able to come up with predictions that appear to be pretty accurate (confirmed by cross-validation) when there are no holidays. However, when there are holidays, I have the following issues:
I get non-zero numbers for the holidays in my forecas... |
I'm working with a survival model to evaluate its accuracy on a new dataset that was not involved in training or initial evaluation. This dataset is a truly independent dataset. Within this dataset, most of the events occur within just under 2 years (>90%), but we have additional observations that occur beyond that 2... |
I tried assuming the number of children a woman has is a Poisson distribution. So, for the US where the mean number of children per woman is currently 1.87, it yields a probability mass function like this:
0: 0.15412386
1: 0.28821161
2: 0.26947786
3: 0.16797453
4: 0.07852809
5: 0.02936951
6: 0.00915350
7: 0.00244529
8:... |
I have the following data, which when plotted as a histogram, are a mixture of Gaussians:
I would like to write an algorithm that would infer:
(1) the number of "peaks" or normal distributions in this data (i.e. three in the above)
(2) the mean/position of each gaussian
(3) the variance of each Gaussian
(4) the hei... |
I am doing a mixed ANOVA in SPSS where I am currently comparing the duration of certain script handwriting in 2 conditions (1=eyes open and 2=eyes closed) for the same 40 participants in both conditions and I want to use handedness as my Independent Variable. So I have 2 groups (1=right-handed and 2=left-handed) by 2 c... |
I’m new to Bayesian modeling in general and PyMC in particular. I’m trying to model in a situation in which we ask patients whether they’ve taken drugs and we further drug test a subset of these samples. I’d like to combine this data taking into account the observation that patients can (often?) lie about whether they’... |
I'm reading Introduction to Statistical Learning. The relevant part is referenced here: Proof/Derivation of Residual Sum of Squares (Based on Introduction to Statistical Learning).
When the author shows graphs that illustrate "Bias vs Variance Tradeoff" (as in Figure 2.12), the ${\rm Var}(\varepsilon)$ is always $1$ (n... |
Both are / were statistics professors. Were they related?
|
Package glmnet provides a cross validation function called cv.glmnet that allows us to choose between two suggested models (from the many), labelled "lambda.min" and "lambda.1se". However even "lambda.1se" does not provide enough sparsity for me, as can be seen in the example below:
Here is a 27x27 variance-covariance ... |
I'm running a simple K-Means clustering algorithm on a dataset with ~15 features. Some of the features I'm currently including in my model represent different percentages of the same whole. I'd prefer to keep the exact variables to myself, so pretend I'm clustering restaurant guests, and the variables are "percentage o... |
I'm working through the derivation of the restricted least squares estimator, and the final step of the difference in variance between the unrestricted and restricted estimators gives me:
$$Var(\beta^U) - Var(\beta^R) = \sigma^2 (X^TX)^{-1} M$$
where $M$ is the idempotent matrix,
$$M = I - (X^TX)^{-1}R^T(R(X^TX)^{-1}R... |
I'm thinking about coding a ranking engine, and am unclear about how I can combine probability distributions for two (or more) entities.
I think this is easier to ask with an example. Say I have two students, A and B, and their expected scores on an exam are distributed as follows:
$A \sim \mathcal{N}(75, 5)$
and
$B \... |
The Chow test is often suggested to test if the coefficients of two linear regressions differ or if a single linear regressions is more appropriate.
However, Chow test assumes equality of the variances of the regressions' residuals, which might not be the case in practice. For this reason, Wald test is suggested.
The ... |
I'd like to analyse data of 11 plots with 15 plant individuals on each plot.
A variable was measured on each plant in 9 different years.
So 11 plots with 15 plants on each plot and measurements in 9 years = 1485 observations.
year id plot val
1 2000 A_01 A 0.70
2 2000 A_02 A 0.90
3 2000 A_03 A 0.79
4 200... |
My recurrent neural network (LSTM, resp. GRU) behaves in a way I cannot explain. The training starts and it trains well (the results look quite good) when suddenly accuracy drops (and loss rapidly increases) - both training and testing metrics. Sometimes the net just goes crazy and returns random outputs and sometimes ... |
I have trained GMM on small train data set, I would like to update the GMM parameters on the fly when new samples arrive. Please direct on how to do that? Please inform if some existing implementation exits in python
dataset is speech utterance, and I would like to update the parameters of the model of a speaker, as n... |
I'm refreshing (or maybe just acquiring) some stats skills, and I have a real-life situation, probably very simple since it's quite close to a typical example from stats courses, that I would like to check for errors in my reasoning (since I couldn't match it exactly to an existing example). I hope it's OK to ask here ... |
I intend to deliver a short (1 hour) presentation to some interns and other staff (all of whom are quite statistically savvy, but are not statisticians -- mostly epidemiologists), on cutting edge statistical methods (especially if they are related to biostatistics, epidemiology/public health). I am hoping to provide a... |
I want to perform a repeated measures analysis on an unbalanced dataset. To keep it simple, assuming I have activity level (AL) as my response variable, time as my repeated measures.
Additional factor don't matter for now.
My time variable is not continuous, but I measured for 3 different stages during an interventi... |
My problem arises from this situation: I have the mean and standard deviation of body-mass index (BMI) for a given population. Contemporary BMI distributions are not close to a normal distribution, i.e., there is a much 'fatter' tail to the right.
Unfortunately, this is where my statistics knowledge ends. What I would ... |
This has probably been asked before, but I couldn't find anything.
I need to compare continuous variable in two groups: I can calculate mean, s.d., etc. I can do t-test.
If t-test is statistically significant, how can I find the exact value, which separates one group from another? Like if x>100 we expect it to be in gr... |
Consider the regression
$$
Y_t\sim X_t
$$
Suppose there is reason to believe that $Y_t$ varies asymmetrically, that is, the increases in positive values of $Y_t$ for a given change in $X_t$ is slower than the decreases in negative values of $Y_t$.
I use linear regression model. When I make a prediction $\text{E}[Y_t]$,... |
For my masters thesis,I need to work on credit risk modelling using machine learning. What are some of the resources to find some literature on the work that has currently been done in this area? Also any suggestions on what to do and what to implement as a starting point are welcome.
|
Let $X$ be a vector of sample data, and $W$ is a vector of parameters of a model based on that data, and we want to estimate a vector $W^*$ that is, informally speaking, "as close to $W$ as possible".
Then shouldn't we maximize $P(W^*|X)$? that is, we should choose the parameter estimates W* such that the probability t... |
I'm very new to statistics and am trying to learn how to analyse the risk of a therapeutic side effect occurring given different data sources.
For example, I'm trying to calculate the risk of a shared side effect occurring in one individual if two medicines (Medicine A and Medicine B), given they share the same side ef... |
Suppose that we have a Hidden Markov Model (HMM) in which my Transition Distribution (also known as Matrix A) between hidden states dramatically change during the time; However, my Emission Distribution (also known as Matrix B) still the same during all times.
How can I possibly handle the volatile behavior of Matrix A... |
I've been trying to generate the deviance residuals for a model I've made using R. It's a Gompertz regression with a number of covariates in the regression and the data is left-truncated, right-censored with an event being a death (i.e. there is an entry age, exit age and an indicator of censoring).
I've used R's phreg... |
I calculated a linear mixed model using the packages lme4 and lsmeans with the lmer-function, where i have one dependent variable rv and the interacting factors treatment, time, age and race. I'm interested in the response variable change over time, that's why i use the lstrends-function. So far so good. The problem is... |
Why is it that when calculating the sum of squared residuals in matrix form we use $e'e$ (where $e'$ is the transpose of $e$) instead of $e^2$?
|
In this paper, the first discussion (Universal latent variable representation by C. Andrieu, A. Doucet and A. Lee) authors state that
Sampling exactly $Y \sim f(y|\theta)$ on a computer most often means
that $Y=\phi(\theta,U)$ where $U$ is a random vector of probability
distribution $D(\cdot)$ and $\phi(\cdot,\cd... |
A trial I was asked to analyze has examined 3 groups - intervention1, intervention2, and placebo, and compared before and after grades - an ordinal variable on a scale of 0 to 6.
How can one tell if there is a difference in an intervention?
I could treat the ordinal var as as interval and run Wilcoxon rank sum in each... |
I have 4 variables for a panel of N metropolitan areas over T years:
productivity
number of patent applications
population
share of graduates in the labor force
I wanted to regress log(productivity) over log(patents), log(population) and share of graduates, along with time & metropolitan area fixed effects.
Of course... |
I am trying to simulate survey data based on output from structural equation modeling (SEM) using the "simsem" package in R. Because each variable represents a question in a survey I would like the resulting data set to only contain integers, between e.g. 1 - 5.
Is there a way to do this within the "simsem" package or... |
I have a survey data that asked multiple-choice questions. For example, one of the questions asked why you decided to live in the current house. Respondents can select multiple choices (there are 25 options in total). The answer is recorded like a dummy variable, 1 is the selection of the option and 0 is not. I looks l... |
I am trying to write some MATLAB code in order to estimate regime switching copula models, in the spirit of http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1102632. The nature of the problem renders the use of analytical derivatives next to impossible, therefore the optimization step is being done numerically. Every... |
I am very new to R and the forecast package authored by Rob Hyndman.
I am working on a time series with 24 samples per hour. I trained a random forest regressor to forecast 6 hour ahead values and am using MAPE(Mean Absolute Percentage Error) on a held out duration as the accuracy metric.
I want to compare its accurac... |
All things being equal, when looking at the correlation between two variables, a greater standard deviation in one variable is linked to lower R squared. However, is a greater standard deviation in one variable linked to any change in correlation itself?
|
Suppose $A,B,C$ are i.i.d. random variables with uniform distribution on $[-1,1]$. I'm interested in the expected roots of the polynomial $Ax^2 + Bx + C$, which are complex random variables given by
$$Z_1 = \frac{-B+\sqrt{B^2-4AC}}{2A}$$
and
$$Z_2 = \frac{-B-\sqrt{B^2-4AC}}{2A}.$$
Making simulations, I computed
$$E[Z_... |
I have, as the title suggests, two heavily skewed, overdispersed histograms. The data ranges from 0 minutes to 85334 minutes. 90% of the data is below 15 minutes, and takes the form of a positive-skewed exponential/power distribution. Then, there's just a huge tail. There are two groups with similar data structures—one... |
I am trying to understand what seems to be the minimum mean square error part of the kalman-filter. Why is $\mathbf{P}_{k\mid k}$ calculated like this:
$\mathbf{P}_{k\mid k} = \mathrm{cov}(\mathbf{x}_{k} - \hat{\mathbf{x}}_{k\mid k})$
when we just want to calculate the covariance of the new estimate $cov(\hat{\mathbf{... |
I am studying machine learning and I am confused by one of the derivations in our textbook. I have two questions:
what makes equation 3.10 a "exponential of a quadratic function of w"?
How is the distribution of p(w) derived here?
Here is the relevant excerpt from my textbook:
We begin our discussion of the Bayesia... |
Are there any indicators in the data for the maximal accuracy of machine learning solutions? Lets say you have these labeled cookie data (web address, time, data about OS and browser...) of 10000 people, and you have to build ML prediction models for their sex. You try some get a 70% accuracy (compared to 50% benchmark... |
I come from the field of Numerical Analysis, and I look for the term which describes the problem of fitting a probability distribution to statistical numerical continuous data, without a-priori knowledge of the distribution.
Specifically, I read about nonparametric-statistics and in a lot of places it says that it best... |
I want to test which factor is more significant in explaining the data. Also, I want to test whether there is an interaction or not.
It is not a crossed design because every level of one factor does not occur in all levels of the other.
eg B1 does not occur in level A3. However, this is not a nested design either beca... |
Firstly I apologize for being very green in statistics. I'm trying to plot a regression for what I believe to be a couple of non-normal distributions.
I have done some reading and I think that the distributions are possibly Poisson distributions but perhaps they are negative binomial distributions?
These are both coun... |
When I read research papers, I saw that many people do a normality test first, then decide if a t-test or a non-parametric test should be applied.
I have a concern about such practice. Let’s say the sample follows a gamma distribution, which is kind of bell shaped, but different from normal. The larger the sample size,... |
I have have a dataframe with students grades. I want to fill the NA's values. For that I'm gonna change the mean of each student to zero.
grades = pd.DataFrame({'test1': [np.nan, 60, 80], 'test2': [60, 60, 85], 'test3': [70, np.nan, 85], 'test4': [80, 80, 100]}, index = ['Matt', 'Sam', 'Tom'])
test1 test2 test... |
In linear regression (squared loss), using matrix we have a very concise notation for the objective
$$\text{minimize}~~ \|Ax-b\|^2$$
Where $A$ is the data matrix, $x$ is the coefficients, and $b$ is the response.
Is there similar a matrix notation for logistic regression objective? All the notations I have seen cannot... |
I am working on a model to predict the risk of Type 2 Diabetes. The data is indexed on each A1c test. I look forward 2 years from the test to see if there is the diagnosis of T2 Diabetes. So, the data is in longform - there are multiple observations for each member + test combination. ie like this (simplified)
Name A1... |
Suppose I want to try two K-means clustering methods. In the first one, I set k = 27, the algorithm converges, and I get some result set of centroids Y. In the second method, I want to do three "sub-runs", each with k = 3. In the first "sub-run", k = 3 and there are three groups created. In the second run, I would say,... |
I have a continuous parameter that I'm trying to predict (say, amount donated by a supporter) that, across the general population, follows an exponential distribution pretty closely. (Very low values are slightly overrepresented, moderately high values underrepresented, but on a log plot the downward linear slope is pr... |
I found this unanswered question in SE-Mathematics from 2015... too old to be migrated to CV. So I'm asking the same question here, and you can upvote the OP in the sister community.
If you draw a proportion of red marbles $k\leq 0.1$ in a sample of $N=10$ from a giant urn containing a proportion of red marbles of $\mu... |
I'm trying to understand the SIR algorithm. In order to do so it seemed best to look at some existing r code (see below), taken from http://hedibert.org/wp-content/uploads/2013/12/example-iii.R.txt.
# SIR: Uniform proposal
N = 10000
m = 2000
draw1 = runif(N,-10,10)
w = dnorm(draw1)/0.05
ind = sample(... |
For example in count data modeling, imagine modeling count data generated from dispersed negative binomial using Poisson distribution. The poisson regression fits the significant covariates and they turn out to be strongly significant. Yet the goodness of fit test fails, because the underlying distribution is wrongly a... |
My knowledge of this topic is rather limited. But essentially i have a linear model based upon a number of predictor variables which i am running to produce an estimate.
I need to account for spatial autocorrelation within my data.
Am i understanding this correctly in that i can run my linear model through a GEE, witho... |
Given a set of $m$ characters, if I pick $n$ of them, how many combinations contain a given character?
A simple case: Picking two letters from ABCD has $\binom{4}{2} = 6$ possibilities, AB, AC, AD, BC, BD, CD and each letter appears 3 times. How does one solve for 3, the frequency of an individual letter, given a gener... |
A is positively related to B.
C is the outcome of A and B, but the effect of A on C is negative and the effect of B on C is positive.
Can this happen?
|
Im using the above methods for model selection with longitudinal data. My question is; do I have to account for fixed and random effects when performing the variable selection? If yes, are there any standard procedures to do so that can easily be implemented in R or Matlab?
Cheers
J
|
The most common kind of deviation is the standard deviation.
$$ \text{Sd}(x) = \sqrt{\text{Mean}((x - \text{Mean}(x))^2)}$$
The standard deviation is very similar to the mean absolute deviance or
$$ \text{MAD}(x) = \text{Mean}(|x - \text{Mean}(x)|)$$
but is often simpler to calculate or obeys nice algebraic properties.... |
I have sales data on 200 grocery brands who add a fair trade symbol to their product packaging (6 months before they become a member, and 6 months after they become a member). I also have data on all other grocery brands that do not add it.
How can I model this taking into account self-selection?
I have thought about D... |
Via this article http://www.pmean.com/08/RegressionAndAnova.html. It was written that linear least squares ,which is used to calculate regression, is used to calculate ANOVA, but there are other methods to calculate ANOVA. The article referred to this method as the regression algorithm, but, just to be clear I am not s... |
I am trying to empirically test the relationship between certain drivers of deforestation (independent variables) and deforestation in a small developing country.
I have data for 4 provinces and for 8 years, so it is an extremely small panel, thus I do acknowledge the fact that its results may have small explanatory po... |
I have been reading this paper called Distinguishing cause from effect using observational data: methods and benchmarks.
On page 13, the author claims the following:
Lemma 7: Given a joint density $p(x,y)$ of two random variables $X,Y$ such that the conditional expectation $\mathbb{E}(Y|X=x)$ is well-defined for all ... |
Given random variables $X_1,X_2, \cdots, X_n$ sampled iid from $\sim \mathcal{N}(0, \sigma^2)$, define
$$Z = \max_{i \in \{1,2,\cdots, n \}} X_i$$
We have that $\mathbb{E}[Z] \le \sigma \sqrt{2 \log n}$. I was wondering if there are any upper/lower bounds on $\text{Var}(Z)$?
|
I am analyzing the occurrence of emergencies in a given area and the application of queueing theory to determine the resources an emergency service should have ready in order to answer to emergency calls.
For basic analysis, the Erlang B formula gives the probability of an emergency occurring while no resources are ava... |
The representation theorem of de Finetti is seen by some as motivation for the use of Bayesian and/or hierarchical modeling. In some settings, it may be plausible to assume measurements are exchangeable, but in others, this is not necessarily a straightforward assumption. How does one decide if data are exchangeable, f... |
I have a small set of observations per day. For each day I have X number of observations. I know that day 3 and 9 have the highest number of observations. But how can I do an statistical test for this? I did a t-test with the R program but i only know that there are differnces, I would like to say that number 3 and 9 a... |
This is a simple question but I cant seem to find a concrete definition.
What is the meaning of a time series "season"?
Quoting from Rob Hyndmans blog on determining the period of a season, "...the “frequency” is the number of observations per season."
|
Principal component analysis (PCA) can be used for dimensionality reduction. After such dimensionality reduction is performed, how can one approximately reconstruct the original variables/features from a small number of principal components?
Alternatively, how can one remove or discard several principal components from... |
A Gaussian process (GP) is defined as a collection of random variables with a joint Gaussian distribution (Rasmussen 2006). It is well known that given observations $\left \{ \mathbf{x},\mathbf{y}\right\}$ and given a covariance function such as the squared exponential $$k(x,x^{'})= \sigma exp(-(x-x^{'})^{2}/l^{2})$$ t... |
ETS models have ARIMA equivalents - this is described, eg, here and here.
However when fitting pairs of ARIMA and ETS equivalents in R I sometimes get different results. For example, compare forecasts from ARIMA(0,2,2) and ETS(AAN):
#Simulate random walk
n <- 100
x <- cumsum(rnorm(n))
#Fit models
arimafit <- Arima(x, ... |
I am using GLM in SPSS for a real world data set. Disaster damage (continuous) vs regime types (categorical). This could be ANOVA, but as the DV is highly positively skewed with a lots of zero, I decided to go with compound-poisson and using GLM.
My question is how could I report better way, as there is no effect size... |
Does the standard error (SE) estimate of the mean (SE = sigma/sqrt(n)) only apply to the mean, or can it be applied to any value in the fit normal distribution?
For example, if estimated 95th percentile of the fit normal distribution is 10, and the SE is 2, would the 95% confidence intervals on the 95th percentile esti... |
I'm in the beginnings of following along with the Coursera machine learning course, and I just did univariate linear regression. My regression line/output looks good and the cost function decreased, but was still extremely high at the end of iterating (J(theta) = 2058715091.21221 at the final iteration). Is this an iss... |
I am trying to implement HMC with a non-diagonal mass matrix, but am getting tripped up by some of the terminology.
According to BDA3 and Neal's review, the kinetic energy term (that I guess is always used due to convenience) is
$$ K(p) = \frac{p^T M^{-1} p}{2} \,.$$
This is also recognizable called a multivariate nor... |
I'm building a model that predicts goals scored based on the defenses that a player faces.
From the classes I've taken, you should normalize the response variable. Here is the issue I'm facing: the value for Goals will usually be 0,1,2,3 or 4 resulting in the following QQ plot.
This is definitely not normal and I wor... |
My data set has around 5 mil rows. I intend to use xgb,cv to find optimal no of tress and then use caret wrapper or my own custom hyper-parameter tuning function.
XGBoost's in-built cv itself is taking a long time. I guess other functions will take even more time.
Previsouly I worked on smaller data sets. XGboost ran v... |
How does one calculate the effect size for Games-Howell and Tukey's HSD? I work with SPSS, so does anyone know of an equation that would allow me to use the information provided by SPSS to manually calculate the effect size for these tests?
|
I am now trying to evaluate my model with cross validation.
My dataset contains some numeric and nominal attributes.
Here, I carry out the following data preprocessing tasks:
A. Normalization: Min-Max Normalization (to [0,1])
B. Discretization: Supervised Discretization (Fayyad-Irani), creating bins with some supervise... |
I have a dataset that has an column output with two levels, I need to build a predictive model for that column but the output has 97% of records with one level and the other 3% with the other level. This produce a model like this result:
Confusion Matrix and Statistics
Reference
Prediction 0 1
... |
I wonder, if there could be a Pareto Mixture Model, just like the Gaussian Mixture Model (GMM). How am I supposed to build a Pareto Mixture Model (PMM)?
|
I was reading a book about repeated measures analysis, but I really couldn't drill enough into the concept behind the math equations. In the book, it says like this:
What I can't understand is the distribution for y. You know when we talked about normal distribution for a random variable X, we defined it X ~N ( µ, σ2... |
Below is the summary of my SARIMA model:
Series: diff(log(data_final_ts))
ARIMA(0,0,2)(0,0,2)[4] with non-zero mean
Coefficients:
ma1 ma2 sma1 sma2 intercept exogeneous_var1 exogeneous_var2
-0.7756 0.2152 -0.5155 -0.4023 0.0413 -1e-04 0.0028
s.e. 0.1358 0... |
I am using SEM and my measurement model includes around 15 items that are all rated on a 0-10 scale but highly skewed towards zero. I am wondering whether there is a way to estimate the measurement model with poisson corrections for zero inflation in R? Or would you assume that it should be sufficient to just run a gen... |
Let us consider the following variables:
Y=dependent variable and Xi=independent variables i=1,2,3,4 where X3 and X4 are categorical variables
Let us consider two scenarios as under:
Scenario 1: A model obtained as follows:
Y=b0 + b1*X1 + b2*X2 + b3*X3 + b4*X4
Scenario 2: A model obtained as follows:
Y=b0 + b1*X1 + b2... |
Consider a AR(1) model with states given by
$x_t=\phi x_{t-1}+a_{t}$, $a_{t}\sim\mathcal{N}(0,\tau^2)$
and the observations given by
$y_t=x_{t}+e_{t}$, $e_{t}\sim\mathcal{N}(0,\sigma^2)$
for $t=1,...,T$. The parameters of this model are $\sigma^2,\tau^2,\phi$. I would like to find the posterior density of the paramete... |
i have done mediation analysis according to the standards of preacher and hayes. My c' happens to be less than c with bootstrap at -.063 and no 0 in between the confidence intervals, but in the path c', the p value did not become non-significant. According to B&K this can be assumed as partial mediation, but what does ... |
Convolution is commutative:
$f \star g = g \star f$
where $f$ and $g$ are functions, and $\star$ the convolution operator.
Does deconvolution possess this commutative property?
|
What is the oracle property of an estimator?
What modelling goals is the oracle property relevant for (predictive, explanatory, ...)?
Both theoretically rigorous and (especially) intuitive explanations are welcome.
|
How would I best deal with input to a neural network that is only available upon request, but with a limited frequency?
To be specific, I aim to train a driver for a Simulated Car Racing Championship (link to competition software manual) using deep reinforcement learning.
Available as input are a variety of sensors pro... |
I have many predictor variables (100+) and many outcome variables (10+). I am attempting to optimise which predictor variables to use when modelling my outcome variables. I am using R for the analysis and the outcome variables must be modeled separately using the glm function.
My issue is that the GLMs should all use t... |
I am trying to get the p-values for hierarchical clustering analysis on the following dataset.The dendrograms generated by pvclust and hclust are completely different.Because the pvclust mentioned they used the same method as hclust, it should be identical.
>test=read.delim("test1.txt", header=T)
> test
S1 S2 S3 S4 ... |
I did two tests in R, chi-square and Grubbs'
Here is the code:
library(outliers)
d <- read.csv('output9.csv')
bytes <- d$Bytes
d $Bytes <- as.numeric (d $Bytes)
test1 <- chisq.out.test(d$Bytes, variance = var(d$Bytes))
print (test1)
Grubbs:
library(sos);
library(outliers);
d <- read.csv('output9.csv')
bytes <- d$Byte... |
I trained a neural network to classify data. My data set consists of roughly 75% class 1 data and 25% class 2. After training, the network showed 84.4% accuracy. As the classes do not contain an equal amount of data, I also decided to look at the ROC curve. The last layer of my network uses a softmax, so that I can int... |
Say there are users and they view articles and click (or not click) on articles. I represent the $i$-th user as $x_i$, a $D \times1 $ vector and $j$-th article as $z_j$, a $C \times 1$vector. The reward (click) of user $i$ on article $j$ is $r_{ij}$.
Now say there is a tensor indicator $s_{ij} = \Sigma_{a=1}^C\Sigma_{b... |
Is there any statistical test to determine that two sequence of numbers (e.g. numbers generated by uniform pseudorandom number generators) have a good cross-correlation (close to zero for all lags) with a desired significance level?
(The ideal case in some applications is zero-cross correlation)
I've found some tests f... |
I need to analyze this hypothesis
h0:Men use cell phone for calls more than woman do.
Made a quesstionaire and asked on the likert scale
How often do you use your cell phone for calls
1=hourly
2=at least once per day
3=at least once every few days
4=once a week
5=never used
Can i analyse the data using one way ANOVA ... |
I would like to use GLMM on RNA-Seq data (counts) using negative binomial distribution in R to identify deferentially expressed genes. Does anyone know of any resources, tutorials or how to go about doing this?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.