instruction stringlengths 9 38.7k |
|---|
I have a Poisson GLM model
m1 <- glm(count ~ x, data = data, family = "quasipoisson")
The predictor variable x is a cumulative sum of ratios, i.e. real numbers between 0 and 1. (Not important for this question, but if you are interested why the sum is needed, it is because it is a transformation of a simpler but recur... |
I've got the following sets of data (x and y scales on each chart are identical):
The eye picks out an upward-sloping floor trendline on each chart that runs upward from left to right, hugging the bottom of the bulk of blue dots, with a few outliers below it. And that trendline is different for each chart.
That's easy... |
If random points are chosen from a circle, what is the probability that all of them come from same semicircle ?
My reasoning is that;
Let two random points be chosen first. Obviously then both of them lie in same semicircle. Now mark any diameter including those two on the same side of it. Any more point chosen will ... |
I was thinking about detecting the veracity of user ratings by examining the time-stamp. Basically I have a series of times $(t_1, t_2, \ldots, t_n)$. So assuming that ratings should normally come in at a constant rate, is there a good way to detect whether some time-stamps are unusually clumped up, because a set of co... |
I have a corpus of 643 documents with different sizes and my goal is to cluster them according their topics and label each cluster with semantic name for its main topic.
I have tired different approaches for clustering including:
Clustering based on cosine distance between the tf-idf vector of weights representing wor... |
I'm conducting a meta-analysis largely on mean differences data, however I have several articles that report only an odds ratio, N, p value, and confidence interval, and I need to convert this information to Cohen's d. I am having particular trouble calculating the variance for d and the confidence intervals for d. Her... |
I know there is a series of regression diagnostics procedures (correlation, beta, residual, etc.) before, during, and after regression analysis. But, is there any common procedure to follow for cluster analysis (like, Ward)? What are the R commands? Thanks!
|
Say, for example, we have a $Y \sim \mathrm{Uniform}(0, 0.25)$, then $P(Y = y) = 4$ for all $Y \in [0, 0.25]$.
My question is: what is the statistical significance/meaning of the $4$?
|
I'm looking for a third opinion on the probability of making a particular decision due to chance alone.
I have a task where people read a paragraph of text, then they are shown it a second time, except some of those times one word has changed. People are then asked whether they detected a change. If they say no then th... |
I have a logistic regression model which is obtained from literature about the probability of developing a toxicity ($y_{i}=1$ or $0$) when patients are given dose $X_{i}$. $X_{i}$ is a continuous variable. The model can be written as:
$Y_{i} \sim B(1,\pi_{i})$
$E(Y_{i})=\pi_{i}$ and $\operatorname{var}(Y_{i})=\pi_{i}(... |
I am using R to develop an ARIMA model to evaluate the influence of several seasonal covariates (e.g., meteorological data) upon the incidence of a seasonal disease. I have weekly data available and have set the period equal to 52 weeks. Using the auto.arima function the disease of interest has a form of ARIMA(0,1,2)(0... |
I have a list of sites and a list of survival probabilities associated with those sites. The data looks like this:
Site Probability
A 0.8
B 0.4
C 0.2
...
(14 sites in total)
Is there any way to test if survival probability varies significantly between sites? What I'm finding difficult is that ... |
I have a bunch of features/xs and a bunch of targets ys. I want to run a linear regression on this. I don't know if I should take every y to be independent and learn separate regression models or just a single model with multitargets and xs. What would be the best?
If I have to do with multiple ys how can I do it?
|
I am conducting a logistic regression. However, the Shapiro-Wilk test has determined that one of the X variables is non-Gaussian.
Do the explanatory (X) variables need to be Gaussian? If so what are the usual transformations that can be done?
|
The questions on a survey asked:
Do you actively participate in a study group?
Do you think the class is going too quickly?
For both, the responses are one of the following: strongly agree, agree, neutral, disagree, strongly disagree
So I want to analyze if there is a correlation between those who are in a study grou... |
Is there any literature that examines the choice of minibatch size when performing stochastic gradient descent? In my experience, it seems to be an empirical choice, usually found via cross-validation or using varying rules of thumb.
Is it a good idea to slowly increase the minibatch size as validation error decreas... |
Suppose $X,Y$ and $Z$ are multivariate normal with means and full covariance matrix. The conditional expectation $E(X | Y)$ is well know. What is the conditional expectation of $E(X | Y,Z)$ if $Y$ and $Z$ (and $X$) are correlated? Standard textbooks only seem to cover the case when $Y$ and $Z$ are uncorrelated.
|
If I tested several similar variables, such as socioeconomic status measures, but only a few were significant, how would I prove that it's not just a chance finding?
Besides having the literature to back it up, is there any sensitivity testing people usually use to prove it's not just chance?
To what degree would I ne... |
I am trying to draw some conclusions about the fitting of one model, but after looking at some examples in the internet I just can't get a hold of it, the interpretation of the results I mean. Since all of the example reach a different conclusion with results I see really similar.
I have some count data with high varia... |
I have a data vector $p$ and I want to test if its true distribution is uniform[0,1]. So I ran a 2 similar KS tests, one with $y = p$ and the other with $y = ecdf(p)$.
ks.test(runif(length(p), min = 0 , max= 1), p)
Please forgive me for not being able to show you guys the data vector p, because its length is 100000. ... |
I have 40 "subjects", each of them did 5 types of exams.
The question I wish to test is if there is a difference in variance between the exams.
That is, I would like to run something like a "Bartlett's test", but for "repeated measures".
Does such a test exists?
|
Is there a difference between the two models
Multinomial logit regression
Multinomial logistic regression?
|
How to chose best coin flipping machine ?
On job interview I was asked to solve the following problem.
There is some amount of different coins, some are fair and some are not. Also there are two coin flipping machines. As a result of several coin flipping experiments a table reflecting machine outcomes was created.
Als... |
[I have cross-posted this from math.stackexchange: https://math.stackexchange.com/questions/476466/is-the-following-property-for-positive-random-variables-fulfilled-in-general ]
Suppose we have a continuous random variable $X$, defined on the interval $[0, \infty)$, which has density $f(x)$ and a finite expectation and... |
What do the weights argument in glmer refer to? I used sample sizes as weights with glm, but here I am not sure. The variance of sample sizes is quite low, but including it or not in glmer gives me a huge difference. For example, in the dataset below, using only one independent variable, the difference in results is hu... |
I’m modelling tuberculosis (TB) case rates at the neighborhood level and trying to identify risk factors that are associated with higher rates. I would like to identify communities with below average case rates given their risk factor profile with the idea that these would be the best places for new case-finding. It’s ... |
This question is related to my quest of clustering the sequences using mixture Markov modeling.
I have trouble understanding Dirichlet priors in the context of MAP-estimate (Mixture Markov Models). Namely, my priors end up being (much) larger than one.
I have non-informative priors defined as following:
$$
p(\theta_n^... |
I apologize in advance if this question is basic.
I am trying to use LASSO for variable selection, with an implementation in R. I currently have 15 predictors, and looking to reduce the variable space and select the best predictors only, to be included in my final factor model.
Some have advised me to use LASSO for thi... |
I have a question regarding to the concept of robust standard errors. What I found about that topic is, that one can estimate the robust standard error for regression coefficients to eliminate problems with heteroscedasticity (when one wants to interpret a model). I want to know if there is a way not only to determine ... |
I observe a process in which particles could be detected on a start point, and sometimes cross a border. So I count the number of particles during the days. Which non-parametric method would you suggest to clarify if the difference or ratio of start and cross border factors is different between two given days?
... |
The adjusted $R^2$ is not shown when a regression with robust standard errors is calculated in Stata.
This is surprising to me since the value of the $R^2$ is unaffected in regressions with robust standard errors.
Is there any statistical reason for not quoting the adjusted $R^2$ when using robust standard errors in re... |
I wish to find comparable SDs/Confidence Intervals for two parameters.
One parameter has been measured by only one (new) study that reports the standard error. Here, t value, sample size and SD are provided.
The other (a correlation coefficient) has been measured by 10 (older) studies, in some as a mean across subject... |
Let $S_1$ = $(X_1, Y_1)$ and $S_2$ = $(X_2, Y_2)$ be two samples from two groups. The broad null hypothesis is that they come from the same distribution. Note $X$ is a matrix here with many columns and $Y$ is just a vector.
By running a random forest model and looking at the variable importance, it appears that the $X_... |
A coworker and I are trying to analyze agreement between two measurement methods. I apologize in advance for needing some extra explanation due to the fact I'm an engineer whose statistics background is mostly geared toward the relationship between signal-to-noise ratio and bit error rates, and other analysis of rando... |
I am using a Markov chain Monte Carlo method (Metropolis-Hastings) to estimate the mean of a distribution.
What practical methods can be used to efficiently determine the precision of this estimate, especially when the acceptance rate drops?
Specifically, is there a better way than to recompute the average several time... |
Suppose you have N individuals you would like to test. You test at the same time for two categorical conditions where condition one could be A,B or C and condition 2 could be W,X,Y,Z. You test every individual n for every combination of these two conditions and the result is a dependent variable:
--> So basically you h... |
I understand (from Wilcox' book [1]) that methods using the trimmed means are robust to distributional assumptions.
Do the methods (e.g. bwtrim, from the R package WRS) assume that the distribution is the same (although not normal) across all conditions being modelled? In other words, what if the data have heteroscedas... |
I have run a binomial glm in R using proportional data in the form y <- cbind.
I have two continuous explanatory variables, from which var1 is significant and var2 is not, but the interaction is also significant. So I want to find which are the values of var1 for which var2 results in an effect on y.
I have discovered... |
Do you know how I could get the inflection points from an R density plot (e.g. looking like the one generated by the code below)?
Thanks!
set.seed(1453)
distro<-c(rnorm(500,mean=0.01,sd=0.001),rnorm(200,mean=0.9,sd=0.01),sample(c(0:100)/100))
distro<-distro[distro>0]
distro<-distro[distro<1]
plot(density(distro))
|
Suppose I use R to fit a Generalized Linear Mixed Model from the binomial family and with a logit link. How do I obtain the prediction intervals (as opposed to the confidence intervals) for the fixed effects (as opposed to the random effects) in a way that incorporates the variability described by the random effects? T... |
I'm working on the forecasting of life expectancy actually. I have written code following the usual procedure. The results are not trustworthy because the life expectancy should have a positive slope (logically) but in my case it comes flat for the 50 years ahead.
The ARIMA(1,1,2) is the best model with the lowest AI... |
I am looking for opinions/interpretation on a model I'm trying to fit. A disclaimer: I'm an ecologist and not a statistician; and I appreciate everyone's time and opinions! I am generally following Zuur et al. 2009's (using R) recommendations in an attempt to model travel speed as a function of a few environmental co... |
I am modelling the activity of animals (subjects). Each subject is measured for activity repeatedly (which requires a random intercept associated with subject). Subjects have also been measured in two environments (a and b). I specifically want to see if the activity level of a given subject in environment a correlates... |
I asked a question earlier in the forum on auto arima click here Performance evaluation of auto.arima in R and UCM on one dataset. The auto.arima provided strange forecast, upon further looking at the code I did not find anything wrong in my R code see code below. This seems a very straightforward problem. If auto.arim... |
I have a great interest in learning new methods(at least to me) of variable selection in regards to binary logistic regression when I am working with over 500 potential predictor variables and have the duty of selecting 8 to 15 variables to build a parsimonious predictive model without using the notorious stepwise tech... |
I have a data set of electricity spot prices, which contains three kinds of seasonality: one within 24 hours, one within a week and one within a year.
I want to use an R package (tsDyn) which can't cope with seasonality, so first I would like to remove all three seasonalities, then adapt a model to the deseasonalized ... |
I have difficulty to derive the Hessian of the objective function, $l(\theta)$, in logistic regression where $l(\theta)$ is:
$$
l(\theta)=\sum_{i=1}^{m} \left[y_{i} \log(h_\theta(x_{i})) + (1- y_{i}) \log (1 - h_\theta(x_{i}))\right]
$$
$h_\theta(x)$ is a logistic function. The Hessian is $X^T D X$. I tried to derive i... |
I need to plot lognormal distribution with mean 1 and variance 0.6 in R.
I tried to do this using rlnorm function in R as
x= rlnorm(500, log(1), log(0.6))
plot(density(x))
log(0.6) is negative that might be the reason my code is not working but the R documentation for lnorm says the value for standard deviation is g... |
I know that the regression coefficient of $Y$ and $X$ is defined as
$$\beta(Y,X) = \frac{\mathrm{Cov}(X,Y)}{\mathrm{Var}(X)}$$
Does this expression also hold in a multivariate regression with $Y$, $X$ and $Z$ as additional explanatory variable?
|
I have data for motor vehicle crashes by hour of the day. As you would expect, they are high in the middle of the day and peak at rush-hour. ggplot2's default geom_density smooths it out nicely
A subset of the data, for drink-drive-related crashes, is high at either end of the day (evenings and early mornings) and hi... |
When generating samples from a DBN, how do you handle the biases that have been learned for the layers below?
I know that you normally perform a number of Block Gibbs sampling steps in the undirected top 2 layers of the DBN, then propagate the sampled values of the penultimate layer down to the visible layer.
So when p... |
There are some variables that I measured but strongly suspect are useless because (for example) almost all my data points scored the same on that (binary) variable.
It's been put to me that I may well leave them in, because in a regularized multiple regression it won't hurt to leave them in, even though it probably won... |
Imagine I have a database of 1000 students. I test these students every week with questions that can be true/false. How do I rank the students according to the historical track records?
The problems are:
Each student has answered a different number of questions in the past. Many have only answered a few, others have ... |
I want to obtain the integral:
$$\int_{{\mathbb R}^p} \frac{1}{(2\pi)^{\frac{n}{2}}\vert\Sigma\vert^{\frac{1}{2}}}\exp\left[-\frac{1}{2}({\bf y} - {\bf X}{\beta})^{\top} \Sigma^{-1}({\bf y} - {\bf X}{\beta})\right] d\beta,$$
where ${\bf y}$ is an $n\times 1$ vector, $\beta$ is a $p\times 1$ vector, $\Sigma$ is a symmet... |
I was wondering if it is necessary to mean center and set std to 1 to the both my xs and ys in linear regression or doing that to just xs is fine enough.
Lets say I use a different model, say neural networks, is it necessary to standardize. I want to know if it is good to standardize both xs and ys, whatever model I us... |
Suppose we have the following classical normal linear regression model:
$$y_i = \beta_1 x_{1i} + \beta_2x_{2i} + \beta_3x_{3i} + e_i$$
where $e_{i} \sim iid.N(0, \sigma^2)$ for all $i = 1, 2, \cdots, n$ and $x_{1i} = 1$ for all $i = 1, 2, \cdots, n$.
Assume that we have known data values for both $x_{2i}$ and $x_{3i}$ ... |
I have three time series of economic data based on quarterly observations; A, B and C, and I would like to ascertain the correlation (or not) between A and C as well as the correlation between B and S. The 1st order differenced time series of B passes the ADF and KPSS tests for stationarity. Series A & C fail the stati... |
I am trying to put the two time series of my Excel spreadsheet (see link below), into a contingency table.
https://www.dropbox.com/s/2f96oylxj97fuih/example.xls
The first series is the number of subscriptions per hour for 24 hours. The second series consists of the hours when ads for different radios stations have been... |
I learned a linear regression model with some input xs and output ys. My ys are always positive. However, now when I test the model on my test data, I get negative values for ys. I know I can either take the absolute value of ys or make them 0. But that's not the right way to do it. What is the correct approach to deal... |
I am new to the glmnet package, and I am still unsure of how to interpret the results. Could anyone please help me read the following trace plot?
The graph was obtaining by running the following:
library(glmnet)
return <- matrix(ret.ff.zoo[which(index(ret.ff.zoo)==beta.df$date[2]), ])
data <- matrix(unlist(beta.df[wh... |
I was reading this article related to elastic net. They say that they use elastic net because if we just use Lasso it tends to select only one predictor among the predictors that are highly correlated. But isn't this what we want. I mean it saves us from the trouble of multicollinearity doesn't it.
Any suggestions/ cla... |
I have basic data that looks like this:
Group Visits Clicks
A 2029 186
B 2340 171
C 2780 176
And I'm trying to determine whether one of the clickthrough rates (Clicks / Visits) is statistically better than the rest of the clicks. I have tried using a Chi Squared test to determine ... |
I'm conducting survival analysis in Stata with data structured as multiple records over time. To illustrate, let's say I'm studying patient mortality. I'd like to check whether two explanatory variables, say weight and blood pressure, are correlated.
I could run a pairwise correlation using pwcorr weight bloodpressur... |
I have been using Latent Semantic Analysis (LSA) or Latent Semantic Indexing (LSI) to identify whether different email addresses belong to the same individual by matching on names used for each email address; An email address represents a 'document', and the set of all names (as separate words) are the terms in that do... |
Hi have a dataset which I constructed using quarterly observations (from bank accounts). I could have also used half-year or yearly data, but I chose quarterly because I thought that higher frequency data could help me obtain more reliable estimates.
The question is, from a theoretical and/or practical perspective, ho... |
I have a spatial dataset with some xs and ys at different spatial locations. I want to learn a non linear regression function using neural networks. I looked in to the training data and the outputs are different locations i.e. ys are high correlated. So I was thinking of modelling a multi target prediction, instead of ... |
I want to determine whether the mean of frequency spectra are statistically different from each other. I have a set of trials in different drug conditions and I want to test whether a drug had an effect on the frequency distribution and/or power across frequency range. This is opposed to determining whether power in a ... |
I am trying to find a name for the kind of study design/analysis I am working on so I can use it to look up best practices and examples of people who have done this kind of thing well.
Essentially I am trying to retrospectively compare two ways of taking biopsies of an organ. Since we are taking biopsies, we assume tha... |
I'm a grad student trying to absorb from the book Pattern Recognition and Machine Learning. However, I found that I really need a good grasp of matrix calculus before I can deduct the formulas myself (since I think in this way learning could be more effective). For example, when deducting Gaussian Mixture Model using E... |
I have an example data set as follows:
Volume <- seq(1,20,0.1)
var1 <- 100
x2 <- 1000000
x3 <- 30
x4 = sqrt(x2/pi)
H = x3 - Volume
r = (x4*H)/(H + Volume)
Power = (var1*x2)/(100*(pi*Volume/3)*(x4*x4 + x4*r + r*r))
Power <- jitter(Power, factor = 1, amount = 0.1)
plot(Volume,Power)
From the figure, it can be sugge... |
I'm working on Bayesian Network and I need to find a broad range of statistical test for testing independence and conditional independence between 2 variables with a potential conditioning set of important size.
My data is a mix of normal (not the most common), non normal (the most common), continuous (the most common)... |
I'm running the a ridge regression broadly analogous to the one at http://www.mathworks.com.au/help/stats/ridge.html.
However, I have a lot more predictors (12) than the example (which only has 3). Thus when I include the interactions the number of parameters blows out.
What should I do? I don't have any particular r... |
Question: Assume the following classical linear normal regression model:
\begin{gather*}
y_{i} = \beta_1 x_{1i} + \beta_2 x_{2i} + \cdots + \beta_K x_{Ki} + e_i \\
\underbrace{\boldsymbol{y}}_{n \times 1} = \underbrace{\boldsymbol{X}}_{n \times K}\underbrace{\boldsymbol{\beta}}_{K \times 1} + \underbrace{\boldsymbol{e}... |
I have a lot of financial instruments and I need to rank them based on price movement "stability", i.e. instruments with with big outliers should have the lowest ranks and instruments with stable and consistent moves should have the highest ranks. To solve this issue I use the ratio of the Arithmetic Mean to the Standa... |
i am learning data mining through book . During classification chapters about Neural Networks the authors have below code. I have below questions:
## pre2008 <- 1:nrow(training) ## training is a dataset that has training data
ctrl <- trainControl(method = "LGOCV",
summaryFunction = twoClassSummary,... |
Say I have predictor array x:(n,px) and a predicted array y:(n, py). What would be the best way in Python to calculate all regression coefficients (linear) from x to each dimension of y (1...py)? The output of the whole thing would be a matrix (py, px) (for each output, px parameters). I could easy iterate over output ... |
So I am trying to figure out if there is a nice decomposition for sampling from the multivariate Student's t-distribution like there is for sampling from the multivariate normal distribution: http://en.wikipedia.org/wiki/Multivariate_normal_distribution#Drawing_values_from_the_distribution
There are quite a few R pack... |
I'm trying to run discriminant function analysis on 27 acoustic, temporal and descriptive variables I obtained from animal calls. However, a number of these variables are collinear because they were calculated from other variables. For example: f0 range = f0 high - f0 low.
Previous work using the same variables utiliz... |
I assume this is stats 101 level of question.
If you have PC that is set to "randomly" pick a number between 1 and 100 each time a button is pushed, the chances of getting a 50 is 1 in 100, right?
So if you have two PCs doing the exact same thing, and you can press a button on either, but you can only pick one PC, what... |
I am interested in determining if, for a certain type of trait, there is just as much variation between twins as there is between unrelated individuals. However, I am having difficulties in figuring out how I can combine equivalence testing (as covered here and here) with the kind of paired observations that comes from... |
So my basic query is just because you've binned and counted the data into a histogram are the error bars on the bins necessarily the Poisson $\sqrt{N}$?
Longer explanation: I have an image of pixel values which represent brightness values. I am binning them into a histogram to get the PDF of the brightness distribution... |
I have an interesting data set for which I want to answer the question:
Question
How do I rank consumption of a key resource from my data set. I am not interested in predicting, rather measuring relative consumption of a resource. Ideally I would get a coefficient for each variable and use that coefficient to show a va... |
I've created a regression analysis in Excel and using the model I have created a prediction point for Y for a given input of X. I'd like to add an "over/under" to the Y value to show the range that Y could reasonably be expected to fall in.
Is using Y +/- the "standard error value for y" (Sey from the LINEST functio... |
I'm having a hard time understanding something. Let's say that I have 36 months of data (36 observations) regarding consumer behavior on a website. I constructed a model regressing $y$ on a number of predictors, and I get the desired coefficients. However, I'm interested in knowing how well my model did in predicting t... |
I am fairly new to R and data mining concepts and am trying to understand the rpart package in R. I am a bit confused about the role of priors and loss in the making of a decision tree. I am referring to the vignette for the package An introduction to recursive partitioning (pdf) and would appreciate any explanation on... |
I tried to get a result in regression on LIBSVM, and I get the same problem on single feature data or multivariate data.
Suppose I try to find the price of something, and I have the data for $N$ days. I give the day ($1,2,\ldots,N-1$) price for $X$ as independent variables, and I train it with the day ($2,3,\ldots,N$) ... |
I am trying to use neural network to learn a non linear function mapping input to outputs. However, I am having some issues with it. I used tansig activation function for the hidden layers and for the output I used logsig. I scaled the output variables in the range [0 1]. The input variables were standardized to zero m... |
Two variables were known to me: dark sample and light sample
To see if measured distance of sample components affected the shade of samples, I measured component distance of three dark samples and three light samples.
I measured each sample three times - for repeatability -
took the mean of the measurements for each ... |
I'm trying to educate myself about predictive analytics and am using R to generate a linear model with the following data.
age <- c(23, 19, 25, 10,9, 12, 11, 8, 13)
steroid <- c(27.1, 22.1, 21.9, 10.7, 7.4, 18.8, 14.7, 5.7)
gpa <- c( 2.1, 2.9, 2.8, 3.5, 3.2, 3.9, 2.8, 2.6)
sample <- data.frame(a... |
I have some data where I've measured the response times of the same participants in two sessions and within 36 conditions (each participant took part in all 36 conditions). So the data are repeated measures across both IVs, however I've been informed that I can run it as though it was an independent-measures ANOVA beca... |
I am currently working with a random coefficient discrete time hazard model. The following assumptions are subject to this sort of model:
linear additivity assumption
proportionality assumption
no observed heterogeneity assumption
Now I would like to test these assumptions somehow. In the papers I have read so far, ... |
I am performing a simultaneous confirmatory factor analysis to check whether the items of a survey refer to intended separate underlying concepts without cross loading on the concepts. Since I am doing this in the context of a course on SEM, I am also paying attention to how this is estimated by the software. I learned... |
Suppose I have a long network cable buried into ground and construction workers will sometimes unintentionally damage it when doing excavation works. I need to analyze the probability of breakage assuming it happens randomly. If I try to address the probability of breaking the cable at any specific point then it will b... |
my question is related on this one that I have posed on math.stackexchange but is not exactly the same (even I would appreciate receive an answer for the other as well). Since I haven't received answers, I've been told that here could be a better place to ask about statistics.
Let imagine we have a vector $\vec{a} = (1... |
I am doing research on organisational change and looking at how certain types of change (e.g. closures of offices, layoffs, investment on activities/functions) have affected seven psychological variables (commitment, trust in leaders, procedural fairness, perception of organisational support, etc.).
Now, I want to kno... |
I have two groups of samples ($A$, $n=100$ and $B$, $n=30$). For each groups we measured whether a trait is present or absent in each sample (0 or 1), resulting in frequency of "ones" for each trait. This we have done for 17 traits. Each individual trait can be easily compared using Chi square and we found that 3 out o... |
I have a situation like this:
Sample1 Sample2 Sample3 .....
Gene1 0.38 0 0.13 .....
Gene2 0.11 0.12 0 .....
Gene3 0.55 0 0.9 .....
..... ..... ..... ..... .....
I need a statistical test able ... |
I have a moderated mediation model with a strong mediation effect, but with confusing results for the moderating effect (using PROCESS). Although the interaction effect in the regression model is insignificant, the conditional indirect effect does show that the mediated effect is conditional on the moderator (values ab... |
I want to cluster a set of 512 time series.
The time series have sampling intervals of 1 day over a time period of 5 years. Thus, each time series consists of about 1800 samples.
However, many of the samples are zero.
So, my question is: Is it ok to aggregate the samples to larger sampling intervals, e.g. days or even ... |
I need to perform model selection using a standard p-value approach. Using logistic regression we would like to compare the following models:
Y = A + B + C + D
Y = A*B + A + B + C + D
Y = A*C + A + B + C + D
Y = A*D + A + B + C + D
I performed the following analysis in R:
first <- glm(Y~G+N+E+C, family="bin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.