instruction stringlengths 9 38.7k |
|---|
I am trying to see how different priors affect the posterior estimates in bayesglm{arm}. But no matter what the prior is, why is the posterior hardly changing?
library(Zelig); data(turnout) #Using the "turnout" data from the "Zelig" package
library(arm) #Loading the "arm" package
model.1 = bayesglm(vote ~ race + age,... |
After doing some tests I know the answer to this. If the standard deviation is high enough, the means will not converge fast enough to give an acceptable error. Assume the distribution of residuals is uniform and normal. If you take $n$ samples from each of the 2 points, you can take the "realm of possibilities" as som... |
I am currently trying to implement some Machine Learning algorithms on my own. Many of them have the nasty property of being hard to debug, some bugs don't cause the program to crash, but rather work not as intended and seem as the algorithms just gives weaker results.
I would like to have some way of increasing my con... |
Let $X = [94, 10, 100, 100, 16, 14, 100, 100, 70, 88, 100, 100, 12, 100, 100, 58, 32, 100, 32, 36, 98, 0, 100, 100, 100]$
where $X$ are students' scores (between 0 and 100), and note many full marks!
The Question is what statistics will best describe the data (note data is non-Gaussian)
Option 1
If I fit a Gaussian us... |
Does anyone know of any $\chi^2$ tests to compare the fit of logistic models which factor out the sample size? I'm dealing with a very large sample and I fear the significant $\chi^2$ test I get when adding a single variable to the model is simply the result of the sample size (>200,000 cases). I'm doing what is known ... |
I was wondering if anyone knows an R function that would make a "best fit" distribution (say normal) match the data only in the tails?
|
I have carried out simple linear regression and I am now checking the models meets the assumption of homogeneity of variance:
• am I correct in concluding that the Levenes tests which gave a p<0.05 indicates a violation of homogeneity of variance?
• some models contain 2 or 3 explanatory variables, but in some models, ... |
I have the following data set and am trying to predict on the naive bayes values
> head(dat)
lead_id email owns_home credit_type buyer_returned
1 12073402 b@hotmail.com 0 GOOD \\0
2 12073514 mo@cox.net 0 GOOD \\0
3 ... |
Foreword : this is not homework, but a real problem : in a Bayesian model comparison context, I am trying to work out the correct prior density of mixed-model parameters which are, for computational reasons, computed as the centered and standardized means of other "raw" parameters, which are themselves given prior dist... |
Imagine that I have the following data:
GroupA <- c(2,4,3,1,2,3,3,2,3,1)
GroupB <- c(3,5,4,2,4,3,5,5,3,2)
Then when I call in R
wilcox.test(GroupA, GroupB)
and then
wilcox.test(GroupB, GroupA)
I get different $W$'s (but the same p-value).
Questions:
Why is this happening? (Am I doing something wrong here?)
What is t... |
I want to choose two-pairs for pairtrading. For pairtradings, two pairs need to pass two tests, the Johansen test (for cointegration) and the P.P. test (for stationary).
As I knew, if they related in cointegration, they would be stationary.
But, My data passed Johansen test, but they couldn't pass P.P. test.
Why does ... |
I was reading a paper by Phillip S. Kott on DAGJK:
The delete-a-group jackknife. Journal of Official Statistics, 17 (4):521-526. (full text is freely available)
I don't have much of a survey/sampling background so I'm having a bit of trouble understanding some of the paper.
What exactly is a primary sample unit (PSU)?... |
When computing regression models with R, I regularly use the relevel function to get my model to give me results for the other level, too. I noticed that sometimes, but not often, this changed the model in the sense that levels of other factors that were significant before the relevelling are not any more. Is this inhe... |
I'm trying to calculate a Mahalanobis-type pairwise distance matrix in R. I have 33 individuals, each with 10 variables. The idea is to get a distance matrix D, where
$$D_{i,j}=(\mathbf{X}_i-\mathbf{X}_j)W^{-1}(\mathbf{X}_i-\mathbf{X}_j)^T$$
However I haven't been able build proper code for it.
|
Possible Duplicate:
Are there default functions for discrete uniform distributions in R?
Is there a distribution from which I can sample that can act as a relatively flat prior over a given range? I am looking for something like a uniform(0,1000), but that only returns integers.
I know how to get R to do this, e.g.
... |
I have two groups of subjects, A, and B, each with a size of approximately 400, and about 300 predictors. My goal is to build a prediction model for a binary response variable. My customer wants to see the result of applying the model built from A on B. (In his book, "Regression Modelling Strategies", @FrankHarrell me... |
I have a data set I would like to normalize in two different ways before building the multiple linear regression model. My data set looks as follows:
$$
x_{1} y_{1,1} y_{1,2}...y_{1,n-1}y_{1,n}$$
$$x_{2} y_{2,1} y_{2,2}...y_{2,n-1}y_{2,n}$$
$$... $$
$$x_{m} y_{m,1} y_{m,2}...y_{m,n-1}y_{m,n}
$$
...where each $x_... |
I'm confused about the independence of the product of independent random variables.
Let A and B be independent of each other and C and D also be independent of each other, then I understand that AC and CB are not necessarily independent each other.
However, A, B, C, and D are mutually independent of each other.
In that... |
I am a second-year undergraduate student, studying Math, and I've been talking to one of my professors a good amount about the difference between mathematical ability and statistical ability. One of the key differences he brought up was "data sense" which he explained as a combination of technical ability while operati... |
I'm a new member and I have some questions about the distinct processes that explain the emergence of a particular structure in networks. I'm new in this domain and if I understand well, the actual theories are:
If the degree distribution follows an exponential law, the mechanism of attachment is random.
If the degr... |
when dealing with soft and hard clustering techniques such as K-means and fuzzy C-means I run into abit of difficulty on the steps that FCM takes to calculate the clusters.
For instance in K-means the steps are as follows:
Chose number of clusters (K)
Initialize centroids (K patterns randomly chosen from data set)
As... |
I have several confusion tables calculated, see, e.g., table 2 and table 1, but typically I'll have 10 or so. These confusion tables are the result of different classification processes (in fact they are the result of different sensor locations). The row and column labels are the same in each table, only the values and... |
Probably, this is a very basic question but I don't seem to be able to find a solid answer for it. I hope here, I can.
I'm currently reading papers as a preparation for my own master's thesis. Currently, I'm reading a paper which researches the relationship between tweets and stock market features.
In one of their hypo... |
I am trying to produce a glmm using the lme4 package in R. To validate my model I would like to produce some diagnostic plots but am having trouble doing so as many of the packages that work for lm() models like CAR do not work for lmer() models. I have tried using the languageR and asuR packages but am just getting er... |
Let $Y_1, Y_2,Y_3$ be uncorrelated random variables with common variance $\sigma^2>0$ such that
$$
\begin{aligned}
E[Y_1]&=\beta_1+\beta_2, \\
E[Y_2]&=2\beta_1 \\
E[Y_3]&=\beta_1-\beta_2
\end{aligned}
$$
where $\beta_1$ and $\beta_2$ are unknown parameters. Find the residual (error) sum of squares under the above lin... |
There is a circle of radius $R$ and a sequence of points within it. I'm going to estimate a PDF of appearing at elementary area at the distance $D$ from the centre of the circle using a realization of $N$ points $X_0$, $X_1$, $\dots$, $X_{N-1}$. So I divide interval $[0, R]$ into $n$ bins $b_i=[r_i,r_{i+1}]$ and find $... |
I have been looking into the inner-workings of the standard error recently, and I found myself unable to understand how it works. My understanding of the standard error is that it is the standard deviation of the distribution of sample means. My questions are:
• how do we know the standard error is the standard deviati... |
I'm trying to understand how POD (Probability of Detection) and FAR (False Alarm Ratio) are calculated in this paper.
On page 234 they are defined as usually and the tree data structure in page 239 shows POD and FAR values for a simple example but I can't figure out how they came up with those values.
$$
POD = \frac{TP... |
I am analyzing some data and want to look at one particular point and see how "extreme" it is.
Do I exclude this outlier from the data, calculate the dataset's standard deviation and average, then compare my outlier to THAT, or do I calculate the standard deviation and average WITH the outlier included and THEN analyze... |
I have a relatively complicated model-fitting procedure, the output of which is a set of coefficients $\beta$ (one for each feature in the training set) and a set of hyperparameters $\lambda$ (which control the amount of regularization).
I would like to compute p-values for each feature. At the moment, my procedure is ... |
I am analyzing growth over time for 5 different cultivated forms (cultivars) of maize. Graphing the data reveals a clear linear pattern for all the cultivars in the time interval I am interested in. Multiple linear regression with categorical (5 cultivars) and continuous (7 time points) explanatory variables appears to... |
Most of my reference on matching has been Rosenbaum's book "Observational Studies". From what I understand, the usual process of matching involves administering a treatment that is represented by a binary value of either 0 or 1, depending on whether the patient got the treatment or not. In the case that I am looking at... |
18 boys and 2 girls are made to stand in a line in a random order.Let $X$ be the number of boys standing in between the girls .Find $P[X=5]$ and $E[X]$. I proceed in this way:
Note that $$P[X=0]=\frac{19.18!.2!}{20!}=\frac{19-0}{20\choose2}$$
$$P[X=1]=\frac{18.18!.2!}{20!}=\frac{19-1}{20\choose2}$$$$P[X=2]=\frac{17.18!... |
I have the following experimental layout:
five different treatments - harvesting rates, ranging from 0 to 1, indicating proportion of branches per plant harvested
75 plants, randomly assigned plants to each treatment, resulting in 15 plants per treatment
followed over 5 years, resulting in five data points per individ... |
I'm analyzing a certain dataset, and I need to understand how to choose the best model that fits my data. I'm using R.
An example of data I have is the following:
corr <- c(0, 0, 10, 50, 70, 100, 100, 100, 90, 100, 100)
These numbers correspond to the percentage of correct answers, under 11 different conditions (cnt):... |
I have some SKUs and I'd like to do a forecast using single exponential smoothing as a forecasting method, when should we go for small value of alpha (.05,.1,...) and when for bigger values(.8,.9,...)? Does it depend on the characteristics of the series?
|
If you've been reading the community bulletins lately, you've likely seen The Hunting of the Snark, a post on the official StackExchange blog by Joel Spolsky, the CEO of the StackExchange network. He discusses a statistical analysis conducted on a sample of SE comments to evaluate their "friendliness" from an outside u... |
If I have a 1D sequence of complex numbers with real and imaginary parts, how can I compute the histogram of this sequence? Do I separately compute the histogram of both the real and imaginary parts?
Moreover, if I get a 2D histogram of a sequence of complex numbers, how do I apply goodness of fit tests (such as the $... |
Any hint on this issue would be really welcome: The goal is to employ a two-country comparison analysis. When running two separate OLS regressions, one for each country, the coefficient of variable x is statistically insignificant in country1 regression (Ho:b1=0 is not rejected), while the coefficient of the same varia... |
Right now I'm working on an analysis of influence of cultural aspects on investment mode preference. However I have to control for many other factors, for example industry, since some industries, for example, are more direct investment intensive, whereas others are more appropriate for licensing. But I have no clue how... |
I'm trying to get the analysis of this (I hope) simple case correct in my head.
Lets say I measure the same thing two different ways, on the same set of data. Call these measurements $y_1$ and $y_2$. They have Gaussian errors $s_1$ and $s_2$. But since they are measured on common data, they have a correlation coefficie... |
I have used multiple imputation to obtain a number of completed datasets.
I have used Bayesian methods on each of the completed datasets to obtain posterior distributions for a parameter (a random effect).
How can I combine / pool the results for this parameter ?
More context:
My model is hierarchical in the sense of ... |
Given a couple of measurements I get by running an experiment, I need to express the fact that they are similar to some extent. So, I computed their coefficient of variation, i.e., stdev/mean.
Here is a sample:
3.76025 2.98375 3.78946 3.72195 3.11426 3.60366
and CV = 10.12%
Now I am confused, I don't know how to inter... |
If i want to be Data Scientist in future,
can somebody advise me sites/books/courses and other good things to learn?
Thanks!
P.S: i know statistical analysis and R/Matlab/Excel/SAS on different levels, but want to rise my skills in it.
|
I have a dataset including for each subject :
22 DV (linears, range [0-1]. These DV are intercorrelated). These measures are volume of different brain regions.
1 main effect to test (disease status; 0,1 or 2)
2 confounding IV (Age of the subject (linear), sex(binary 1 or 2) ; which have a known impact on my measures)
... |
In a Cox proportional hazards model with many variables, if the Schoenfeld residuals are not flat for one of the variables, does this invalidate the entire model or can just the poorly-performing variable be ignored? That is, interpret the coefficients for the other variables, but do not interpret the resulting coeffic... |
I am using the pearsonFitML function in the PearsonDS package to do maximum likelihood estimation of parameters in R.
I am particularly interested in fitting Pearson Type 5 distributions to my data. Does anyone know how I can 'fix' this function so it only tries fitting a type 5 distribution? This may just be a straig... |
Applying modified z-score for outlier elimination on some data (Iglewicz and Hoaglin, 1993), I discovered that a big proportion of the data (~10%) was outside the range abs(z)>=3.5. Further investigation showed that the data is heavy-tailed. I assumed that the Bienaymé–Chebyshev inequality would hold for the median abs... |
I know the glmnet() function cannot exclude the intercept by users, but does anyone know how to derive the fit without intercept from the glmnet()?
|
Short version: What's the most computationally efficient method of estimating the mode of a multidimensional data set, sampled from a continuous distribution?
Long version: I've got a data set that I need to estimate the mode of. The mode does not coincide with the mean or median. A sample is shown below, this is a 2D ... |
I am a bit puzzled with the following issue: the outcome of one-way ANOVA test shows that the mean difference of variable y between two country samples is statistically significant. However, after pooling the two samples together and running an OLS regression with y as dependent variable, some other IV and by including... |
Baron and Kenny outlined several steps to aid in determining if a mediational analysis is appropriate to test a particular hypothesis. The very first step was "Show that the initial [independent] variable is correlated with the outcome [dependent]". This is referred here as an "effect to be mediated" ($X\rightarrow Y$)... |
In another question, I asked about the statistical validity of StackExchange's "Hunting of the Snark" dataset, and whether or not we could draw any conclusions from its results. I measured a few reliability coefficients to better understand them; now I'm trying to create an item-response model, per Andy W.'s suggestion... |
I have one IV ($A$) and two DVs ($B$,$C$). $A$ is a binary, experimentally manipulated variable. Each subject has two scores on $B$ and two scores on $C$, corresponding to the experimental manipulations $A$ and ~$A$.
I would like to say that $A$ causes an increase in $B$, and increases in $B$ lead to an increase in $C$... |
Here is the question: After running two separate OLS regressions, one for each group (male vs. female), we get coefficient b1 for a specific IV in "male" regression, and coefficient b2 for the same IV in "female" regression. What would be the most appropriate way to test the hypothesis: Ho: b1>b2? As far as I know, Wal... |
In a ML setting, where $a_1,..., a_n$ are a set of training points. A kernel function is a function $κ$ that gives the inner product between two vectors
in the feature space:
$κ(a_i, a_j ) = ψ(a_i) · ψ(a_j )$ where $ψ$ is a non-linear function.
We can form an $n × n$ matrix
$K$, called the kernel matrix, whose $(i,j)$ ... |
I have stock returns at every 5 minute interval of each trading day for over 2 years for 40 stocks. I want to run a Fama-Macbeth regression by time interval (5min intervals) and then correct the standard errors correlation using Newey-West in SAS. This is my code:
ods listing close;
ods output parameterestimates=pe;
pr... |
I wish to measure clustering in the duration between stock trading. For example, a trade occurs at 1:59:19 and the next trade follows at 1:59:23 - the inter-trade duration is 4 seconds. I have roughly 50,000 trades per day for a particular stock. I was told that I can square the inter-trade duration in order to capture... |
The unit interval (0, 1) is divided into two sub-intervals by picking a
point at random from inside the interval. Denoting by Y and Z the
lengths of the longer and the shorter sub-intervals respectively, show
that Y/Z does not have finite expectation.
Let X~U(0,1) and U be the length of the shorter of the intervals (0,... |
Let the distribution of $X$ be $U(0,1)$. Let U be the length of the shorter of the intervals $(0,X)$ and $(X,1)$; that is, $Z=min(X,1-X)$ and let $Y=1-Z$ be the length of the larger part. Show that, for $t>1$, $P[\frac{Y}{Z}\leq t]=\frac{t-1}{t+1}$;Find the PDF of $Y/Z$.
I am unable to find the distribution function.I ... |
Explain briefly What is meant by interpolation.How is it related to the concept of regression?
interpolation is art of reading between the lines of a table and in elementary mathematics the term usually denotes the process of computing the intermediate values of a function from a set of given or tabular values of that ... |
I've found plenty of formulas showing how to find the mean survival time for an exponential or Weibull distribution, but I'm having considerably less luck for log-normal survival functions.
Given the following survival function:
$$S(t) = 1 - \phi \left[ {{{\ln (t) - \mu } \over \sigma }} \right]$$
How does one find the... |
I want to know how to write the $\chi^{2}$ distance between two multivariate Gaussian distributions $f$ and $g$ in terms of their parameters only. The parameters of $f$ is the vector $\mu_{1}$ and a covariance matrix $\Sigma_{1}$. The parameters of $g$ is the vector $\mu_{2}$ and a covariance matrix $\Sigma_{2}$.
|
What are the potential reasons why the relationships are insignificant in my regression model, and what can I do to increase significance?
|
I want to better understand the R packages Lars and Glmnet, which are used to solve the Lasso problem:
$$min_{(\beta_0 \beta) \in R^{p+1}} \left[\frac{1}{2N}\sum_{i=1}^{N}(y_i-\beta_0-x_i^T\beta)^2 + \lambda||\beta ||_{l_{1}} \right]$$
(for $p$ Variables and $N$ samples, see www.stanford.edu/~hastie/Papers/glmnet.pdf o... |
Three independent samples $(X_1,X_2,...,X_n)(Y_1,Y_2,...,Y_n)$ and $(Z_1,Z_2,...,Z_n)$ are drawn from normal population, each having the same unknown variance $\sigma^2$ but, $E(X_i)=m_1,E(Y_i)=m_2,E(Z_i)=m_1-m_2,\forall i$,show that the test of $H_0:m_1=\lambda m_2$ can be carried out by the test statistic $$T=\frac{[... |
I am getting started in R. I need help with a command to:
"Simulate 10000 binom(20,0.3)-RV's". I would do it like:
binsim <- rbinom(10000, 20, 0.3)
Question cont.: "Let X be a binomial(20,0.3)-RV. Use simulated numbers to estimate:
P(X<=5) and P(X=5)"
Okay for the first I would use: pbinom(???) and for the second dbin... |
How would you combine results of model performed on random samples of a very large dataset?
I need to model a very large database in R (~75 million rows) that can not be loaded directly into memory. I am still at the planning phase.
My first idea was to divide the dataset in smaller datasets using random sampling with... |
I have a question about the interpretation of lower order interaction terms in the presence of a significant higher order interaction effect.
Suppose I have a 2 (factor $A$) $\times$ 2 (factor $B$) $\times$ 2 (factor $C$) design where the highest order interaction ($A\times B\times C$) is significant and a lower order ... |
Let $\Delta_{K}$ be the probability simplex of dimension $K-1$, i.e. $x \in \Delta_{K}$ is such that $x_i \ge 0$ and $\sum_i x_i = 1$.
What distributions which are frequently (or well-known, or defined in the past) over $\Delta_{K}$ exist?
Clearly, there are the Dirichlet and the Logit-Normal distributions. Are there a... |
I am an ecology student and have to deal with 10 or 20 field variables, including species frequencies. I need to screen out what variables are most important in the occurrence of a bird species. What book would tell me the methods to do this?
|
After gathering valuable feedback from previous questions and discussions, I have came up with the following question: Suppose that the goal is to detect effect differences across two groups, male vs. female for example. There are two ways to do it:
running two separate regressions for the two groups, and employ Wald ... |
I have collected data from employees at 13 branches of a bank and also administered customer satisfaction scale to customers of each of the branches. As a result, I am unable to have pairs of observations for each case of data at the individual level. To deal with this, I have contemplated aggregating by computing the ... |
Let $X_1,X_2,\cdots ,X_j \cdots $ be i.i.d. $\mathcal N(0, 1)$ random variables. Show that
for any $a > 0$, $$\lim_{n\to \infty}P\left( \sum_{i=1}^n X_i^2\leq a\right)=0$$
It is clear that $\sum_{i=1}^n X_i^2 \sim \chi ^2_n$; then, I can't proceed. Please help.
|
If I have a dependent variable having more than two categories (the categories can be ordered) and a few independent variables which are all continuous, then how can I see whether the independent variable affects the dependent variable significantly or not?
I can see that if I run an ordinal logistic regression, then c... |
I'm sitting on a rather complicated task and I'm not sure
which method to use here.
For a university class, we are consulting a psychologist who has
shown people images like this:
The task was to
a) Find which of the diamonds has a different color than the
others. This takes an amount of time called "selection time"... |
I have collected data from Twitter, Google and Wikipedia to look for any correlations (and perhaps predictive value) against the stock market.
I have collected daily Twitter, Google and Wikipedia data for 148 days. In regression analysis, I am using a dummy variable, "sector". All 100 companies from which I have collec... |
I have a question about my use of a mixed model/lmer. The basic model is this:
lmer(DV ~ group * condition + (1|pptid), data= df)
Group and condition are both factors: group has two levels (groupA, groupB) and condition has three levels (condition1, condition2, condition3). It's data from human subjects, so pptid is a... |
I have a question about which prediction variance to use to calculate prediction intervals from a fitted lm object in R.
For a certain multiple linear regression model I have obtained an error variance with leave-one-out-cross-validation (LOOCV) by taking the mean of the squared difference between observed and predicte... |
Say there is a random variable X which can take 3 values 1,2,3 with equal probability. The task is to draw realizations from this random variable.
Any simple textbook will say consider a realization as 1 if you get a realization from Uniform distribution as less than, 0.33, and as 2 if you get a realization from Unifor... |
the number of car accidents every year has Poisson distribution with mean $\lambda$ and lifetime of the car has exponential distribution with mean $\frac{1}{\mu}$.
how can find distribution total number of car accidents in a lifetime of the car?
|
I have to analyse the effects of different treatments on the survival of individuals for 1 week.
But:
the data are 'grouped': individuals were grouped by 10, and the survival probability is affected by the number of individuals who died already
the data are nested: I've got replicates.
the data are right-censored:... |
I'm learning about PCA. In general, I understand the concept and the underlying math, but I'm confused about a few things that I'm hoping someone can explain.
Lets say that after performing a PCA analysis on some high dimensional data I find that the first three components capture 99% of the variance in my data. Now w... |
Let $X_1, X_2,\cdots,X_n$ be a random sample from the distribution with the p.d.f $$f(x)=\frac{1}{\beta -\alpha},\alpha<x<\beta $$ where $0<\alpha<\beta<\infty$. Obtain the minimum variance unbiased estimators of $\frac{\alpha+\beta}{2}$ and $\beta-\alpha$.
Here I try to use Rao Blackwell Method but I am not able to so... |
I am trying to implement the Kernel Ridge Regression algorithm but I am getting some quite strange results. I am afraid that I have made some silly mistakes, so I need your help to find out how to fix them. I quote my code bellow. All suggestions are welcome.
function [MSE_train_mean,MSE_train_std,MSE_test_mean,MSE_tes... |
I have a problem making time series predictions with SVM and Matlab. I tried to solve the problem by myself in several ways without success.
I downloaded, compiled and installed LibSVM scripts for Matlab. But I don't know how to format my data in input. I mean, I have a time series that is an array of values, something... |
I have a multilevel logistic regression (Rasch), fit in JAGS. Specifically,
$\text{logit} (P(\text{Win})) = \alpha_p + \gamma_w + \delta_{p,w}$
The prior on $\alpha_p$ is partially pooled, $\alpha_p \sim N(\mu_\alpha,\tau_\alpha)$, and the rest of the priors are normal with mean 0. The model "works", i.e., converges o... |
I've generated a user test to compare two methods: M1 and M2. I generate 40 test cases and show the result of each method on test case to 20 individuals, side by side, the individuals don't know what result came from which method. For each test case each person has to say if the result computed by M1 is better or M2 is... |
I am using the R package boot to bootstrap Harrel's C Index with different Cox models. My sample consists of about 700 cases with 90 events.
> boot.ci(boots[[2]], type="bca")
BOOTSTRAP CONFIDENCE INTERVAL CALCULATIONS
Based on 10000 bootstrap replicates
CALL :
boot.ci(boot.out = boots[[2]], type = "bca")
Intervals ... |
This question is related to frequentist properties of p-values and their relation to type I error and why the results from an online simulation differ from what I would have expected.
Assume that I perform an experiment and do hypothesis testing at a significance level of 0.05. Next, I compute the p-value. If it is les... |
I have a set of data and I'd like to know whether this data set has a logistic distribution. When I made a histogram of my data set it seems to have a logistic distribution, but to be sure I'd like to test for a logistic distribution in R.
So my question is: Is there a way to test your data for a logistic distributio... |
Reading many help pages, I see that a common way to correct for overdispersion is to fit models using quasibinomial or betabinomial distributions. However, I can't find help concerning how far correction is achieved nor how to be confident that a reliable model has been fitted.
I am interested in mutation data from ma... |
For 100 companies, I have collected (i) tweets and (ii) corporate website pageviews for 148 days. The tweetvolume and pageviews per day are two independent variables corpaired against the stock trading volume for each company, resulting in 100 x 148 = 14,800 observations. My data is structured like this:
company date ... |
I have two groups. There is a significant difference according to the KW test. But do I need to report the mean or median of the groups?
|
I was wondering if it is possible use HoG features to train a Neural Network, I know that in the original paper by Dalal and Triggs they used the data generated to train a SVM.
If not is possible or suitable do you know a descriptor to get features in order to train a neural network.
|
I'm trying to analyze if the volume and sentiment (valence) of tweets has an effect on the sales of a product (in my case movies). The DV is sales with IV NumberOfTweets, Valence, DaysSinceRelease.
My regression analysis showed that NumberOfTweets is highly significant for Sales (p = .000) while Valence wasn't (p = .73... |
I have a simple Text analyzer which generates keywords for a given input text. Till now I have been doing a manual evaluation of it, i.e., manually selecting keywords of a text and comparing them against the ones generated by the analyzer.
Is there any way in which I can automate this? I tried googling a lot for some f... |
I am a novice Stata user (forced here from R to conform to coauthor's quirky option choices). I need access to the Pearson residuals from a negative binomial regression. I currently have the regression equations specified in this manner:
xi: nbreg cntpd09 logpop08 pcbnkthft07 pccrunion07 urbanpop pov00 pov002 edu4yr //... |
Is there an implementation of n-gram smoothing like Kneser-Ney in R?
I'm using the tm package.
|
I am trying to fit a predictive gene-based model in survival analysis. My question is:
Can I use LASSO as a variable selection method, and then run a multivariate Cox regression to get the coefficients of those variables (genes) instead of using the coefficients from LASSO?
In that case (if I run a multivariate Cox reg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.