instruction
stringlengths
9
38.7k
I would to predict a pseudo-random binary sequence of 0's and 1's. I am thinking of using the HMM package in R. I have a binary sequence like ... 0 1 0 0 1 1 0 1 x(n+1)? with thousands of values. What I would like is to get automatic estimation for x(n+1), computing their prob.matrix automatically every time. The quest...
I would like to test if the variation of my response variable is higher for one level of an explanatory variable than for the other. However I am not interested in the total variation, but only variation towards higher values of the response variable. My model (using the package nlme in R): lme(y~factor + covariate, r...
I am working with principal component analysis (PCA) to have a regression model. Let's say we have 3 variables that we get every month, and so far we gathered 10 months of data. We have built the PCA on the raw data matrix. p = prcomp(na.omit(rdatat), center=TRUE,scale=TRUE) loadings=p$rotation[] pca=cbind(p$x[,1], p...
Let's say I have one variable that has a known metric (e.g., variable A has a mean of .7 and standard deviation of .3). How do I scale a second variable (variable B) to have the same mean and standard deviation? I know how to make both variables have a mean of zero and standard deviation of one. (That's easy--translat...
I have web log analysis data (AWStats) from a university library website. I'm looking at the number of visits per month divided by the number of faculty plus student enrollment (visits per headcount). This shows a downward trend, along with strong seasonality. Also, the undergrad enrollment has gone up steadily the las...
What are some interesting techniques that can be used to analyze Likert data? As a frame of reference, I have constructed a survey with about 50 items which are intended to assess the attitudes of the survey participants towards two very broad categories. Each item is on a 5 point scale. The survey will be offered mult...
I'm using the robustbase package to run a glm estimation. However when I do it, I get the following error: Error in solve.default(crossprod(X, DiagB * X)/nobs, EEq) : system is computationally singular: reciprocal condition number = 1.66807e-16 What does this mean/indicate? And how can I debug it? PS. If you need a...
Background A laboratory wants to evaluate whether a certain form of gel electrophoresis is suited as a classification method for the quality of a certain substance. Several gels were loaded, each with a clean sample of the substance and with a sample that contains impurities. In addition, a molecular marker was also lo...
I have built a logistic regression model in R and though the result appears to be satisfactory to some degree, there is one question I have not be able to address. I am not sure if my approach is at all correct. I know that the overall purpose of the logistic model is to predict the probability of success for a binary ...
I am modelling an event using a Binomial distribution $y \sim \text{Binomial}(n,p)$: $$p(y) \sim \binom{n}{y}p^y(1-p)^{n-y}$$ However, in the event I am modelling, the number of trials, $n,$ is not necessarily an integer. $n$ is also small (often between 1 and 3) and strictly greater than or equal to 0. Due to these ...
Root-mean-square error (RMS error) between two signals can be calculated as given: ${\text{RMS}(x_\textrm{ actual}(t)-x_\textrm{ reference}(t))}$ When you want to calculate within a sliding window, you iterate the equation above within a loop. However, this is super expensive. Is there a way to calculate RMS error in a...
I have a series of data points that consist of 1) a time, and 2) a win or a loss. I would like to be able to determine the aggregate win rate for particular time periods, and graph it. For instance, let's say I am dealing with boxers. I would like to be able to say the boxer Bill tends to peak in boxing matches aroun...
Let's say I have two people. Each of whom I create a network matrix for daily for some of their daily habits $(i.e. A, B, C, D)$. I do this for, let's say $60$ days. Two People and their daily matrices http://www.chrisjvargo.com/Matrix%20Time%20Series.png I didn't bother to change the values in the matrices, but let's...
I am given two time series of prices between 2009 and 2013. Price series A is weekly data, series B is monthly data. I would like to compare some basic descriptive statistics of these two time series data (such as mean, standard deviation etc). Intuitively, I just wonder if the period sampling difference should be of a...
I have a question about a simulation set up. Assume there are two groups (Z = 0 and Z = 1). The outcome for Z = 0 and Z = 1 are generated by the following equations: $Y_0 = \alpha_0 + \beta_{01}*{x_1} + \beta_{02}*{x_2} + \epsilon_{0}$ $Y_1 = \alpha_1 + \beta_{11}*{x_1} + \beta_{12}*{x_2} + \epsilon_{1}$, where $x_1$ a...
Updated I have a data set with five continuous variables measuring an index in a population. For finding underlying classifications in the population based on the five observed variables, I did a latent profiles analysis (LPA) for two and three categories model using all five variables.The task is to find cutoff values...
I'm just preparing for my exam, but I have no idea how to solve this problem: Durable Press cotton fabrics are treated to improve their recovery from wrinkles after washing. Unfortunately, the treatment also reduces the strength of the fabric. A study compared the breaking strength of fabrics treated by two commercial...
What is the asymptotic time complexity of Lasso regression as either the number of rows or columns grows?
I have a case and control group, both of which had a blood sugar level tested multiple times over 48 hours. I took the mean of the levels for each person and then calculated the mean of the means (with an SD etc) to compare the two groups. I am not sure if this is a valid method for comparison and whether another metho...
I have a dataset of paired relations, indicating whether $a$ is in relation with $b$. It is better to consider this dataset as a graph where each node has a numerical value as its feature. Let's say this feature could possibly be varying between $-10$ and $10$. Now the question is: Are two nodes related one to each oth...
I have normally-distributed processes from which I get small samples (n typically 10-30) that I want to use to estimate variance. But frequently the samples are so close together that we can't measure individual points near the center. I have this vague understanding that we should be able to construct an efficient es...
I am looking for an implementation of LAD LASSO method with constraints on coefficients, such as non-negative beta coefficients for example. $\min_{\beta} \left| \mathbb{y} - \mathbb{X} \boldsymbol{\beta}\right|_1 + \lambda \left|\boldsymbol{\beta}\right|_1 $ Are there any packages available with such properties? Also...
The following question is about an Exercise 14.15 from "The Elements of Statistical Learning" by Hastie, Friedman and Tibshirani. Generate $200$ observations of three variates $X_1, X_2 , X_3$ according to \begin{align}X_1 &= Z_1 \\ X_2 &= X_1 + 0.001 \cdot Z_2 \\ X_3 &= 10 \cdot Z_3 \end{align} where $ Z_1, Z_2...
The moment generating function of a random variable $X$ is defined to be the function $$M_{X}(t)=E(e^{tX})=\sum_{n=0}^{\infty}\frac{E(X^n)}{n!}t^n.$$ Let $I=\{t\in\mathbb R:M_{X}(t)<\infty\}.$ I wish to show that $I$ is possibly a degenerate interval and $0\in I$. (Degenerate means the interval includes only one real ...
Is it feasible to use t-SNE to reduce a dataset to one dimension? Suppose that I have a matrix, $X$, can I reduce it to a column vector, $Y$ with t-SNE? Suppose that $X$ has 100 columns, how much information can I expect to lose by reducing it to just a column vector with t-SNE (if possible)? References: L.J.P. van der...
Assume that we have a white noise process. When you try to fit an ARMA(1,1) model on it (clearly wrong model but bear with me): $y_t=ay_{t-1}+b\epsilon_{t-1}+\epsilon_t$ you will end up with a variety of different $(a,b)$ where $a+b=0$ depending on where the optimizer will start. Of course I rather get $a=b=0$ to slap ...
This question has originally been posted on the math stack exchange, but these guys redirected me to you. Find it at https://math.stackexchange.com/questions/566065/exclude-an-rgb-color-from-a-set -- Here's the question again -- I'm currently implementing an algorithm to split an image into smaller chunks, based on str...
I have a vector of measurements from one to three classes, which can be modeled by Gaussian distributions. There are some outliers in the data. I use the EM algorithm to learn the parameters of the components. One property of the algorithm is, that the incomplete likelihood of the data increases monotonically. My code ...
Looking at a data of the format given below, I am asked to find the (top 3) feature(s) that affect a customer's purchase preference the most. In the dataset below, each customer row contains the break-down of purchases of a single product by various features of the product. Fi stands for the i'th product feature (e.g....
I have the following sample. Now I have to test: $$H_0\!:\mu=60,\!000 \quad \text{Vs.}\quad H_a\!:\mu>60,\!000$$ I have computed it in R Software But I do not understand the result. Price <- c(60,250,400,550,517,380,425,280,389,559) Number <- c(3,3,4,5,4,3,6,3,4,5) data <- data.frame(Price, Number) price <- da...
Simple form provided by WHuber: What is the distribution of the diameter of n points in the plane drawn iid from a bivariate Normal distribution? (Diameter is the greatest distance among any pair of the points.) Original long form: Given a Rayleigh process R($\sigma$) generating cartesian samples $X_i \in \Re^2$ — whi...
I am aiming to do a rolling regression in Stata, and I simply want to obtain the R-squared. I am aiming to keep it simple, I am not writing a whole program but if this is necessary, I am open for such suggestions as well. At the moment I have lines with which I only obtain the estimates of the beta coefficients and the...
For OLS parameter estimates to be consistent it must be the case that E(u|x)=0. Is it true? E(u|x)=0 is a required condition for unbiasedness. But as far as I understand, unbiasedness does not necessarily mean consistency. Therefore I am really confused.
I have ran this model in R: model <- lm(mpg ~ hp + drat + disp, data=mtcars) And I have visualised this model using effects package in R: library(effects) model_effects <- effect("hp", model, list(drat=mean(mtcars$drat), disp = mean(mtcars$disp))) plot(model_effects) I believe this plot shows the relationship betwee...
I'm wondering whether a fixed-effects (logit) model fits the purpose of my study, and would like to get some feedback or ideas which other models could potentially be useful: I have an unbalanced panel (daily observations, 3 months time period) with Twitter user data. Among the independent variables are number of foll...
What is the additional coefficient 2 in AIC, or other deviance criteria? In the books or on the internet I keep reading "historical reasons". What the heck are those historical reasons? Is there a merit for the 2 keep appearing? http://en.wikipedia.org/wiki/Deviance_(statistics) http://en.wikipedia.org/wiki/Bayesian_in...
I will work on climate data to predict if a disease it will happen or not on a crop. During search I found logistic regression is best choice for my research, but it has several problems led to reduce the prediction. I'm new to prediction analysis and I don't know how to increase my prediction accuracy. There are sever...
In a practice exam I encountered a question about the standard error of a sample (calculating the mean order size of a random sample of 100 customers of a paper firm). A researcher (the subject of this question) advised against increasing the sample size because -although it would decrease the standard error- it also ...
If I were to collect ONE sample of size 20 from a normal population, how justified would I be in claiming that the sample is normally distributed? I'm getting a little confused since by the Central Limit Theorem, the sample size has to be sufficiently large and 20 is a relatively small number. On the other hand, if we ...
Using Stats models and Pandas (and requests for the data) I'm working on a forecast model.. my 1st step is just getting the Arma function working and understood. My data is available publically and is highly seasonal residential real estate unit sales data, I'm planning to see how a quarterly survey that we do can help...
I understand how best split is chosen for random forest for numerical predictors (features). Numerical predictors are sorted then for every value Gini impurity or entropy is calculated and a threshold is chosen which gives the best split. But how best split is chosen for categorical predictor as there is no specific o...
I am trying to simulate a process of selection without replacement. The process is one in which the system places a set of items in a specific order, and then the user selects N items in whatever order they want. The order of the items will vary depending on an algorithm. The probability that each item will be picked ...
I am trying to fit a linear model (lme4::lmer()) to my data in R. I would like to look at a number of things, including "scrambling" of visual stimuli and "intensity" of the emotions portrayed therein. These things are stored the "scrambling" and "intensity" columns of my dataframe. To ease your comprehension you may s...
I am frequentist by training and practice, but I'd like to learn more about Bayesian statistics. I know the basics, but I would be at a loss if I had to, for example, replace my normal ANOVA hypothesis testing approach with a Bayesian alternative. What book would you recommend to learn practical Bayesian approaches? Pr...
I have data on a series of winning and losing bets over 5 rounds of betting with attrition after each round. I am using a decision tree like the following to display the data. The nodes towards the top of the tree are those that are having winning bets, and those towards the bottom of the tree are having runs of losi...
I often get different level of responses when I discuss about R-Squared and its relevance to measuring the performance of a Random Forest or GBM model. In general, RMSE is a better and more appropriate measure, but I sometimes encounter cases where the RMSE is acceptable but the R-Squared is way low ~ 0.18 for example ...
I have gene expression data, I do dimensionality reduction and clustering with self organizing maps, but self organizing maps do not perform well with my data. I want to map my data to feature space using different kernel functions and then give this data as input to self organizing maps to compare their performance. M...
I am running an experiment testing reaction times under different conditions. I have a data sample located here and I have added a graphical plot of my data below in order to ease your understanding: I would like to check whether weak emotion recognition has significantly higher error rates than all other conditions. ...
I found out that my panel data 'suffers' from heteroscedasticity by doing the test described on Stata FAQ, Testing for panel-level heteroskedasticity and autocorrelation. I understand that the $H_0$ for lrtest is homoskedasticity and I'm rejecting this. Please correct me if I'm wrong here. I'm carrying out a fixed eff...
I have been trying to do code this: For each $\left( x,z\right) \in\left( X,Z\right):$ $r(x,z)=\sum_{i=1}^{n}Y_{i}1\{X_{i}<=x\}1\left\{ Z_{i}<=z\right\}$ So far, the best way I came up to do this is by using a loop. Here an example: y=rnorm(10) x=c(1,1,1,2,2,2,3,3,3,4) z=c(5,5,6,6,7,7,8,8,9,9) data=data.frame(y,x,z...
I have two density functions: $h_{1}(x)$, $h_{2}(x)$. I want to estimate parameters from one dataset using $ h_{1} $ and $ h_{2} $ andthe GMM estimator or the GEL : from the article "Computing Generalized Method of Moments and Generalized Empirical Likelihood with R" I want to estimate the parameters : $ \delta $, $\b...
Undirected Graphical Models are usually known as "Markov Networks" and Directed Graphical Models are known as "Bayesian Networks". This is naming is not very clear to me. It might be because of some historical background, though I am just curious to know if there is any concrete reason for this naming.
I'm a bit lost at the results part of my thesis. I have conducted an generalized maximum likelihood (GML) univariate test with Y variable: dependent variable one X variable: independent (consists of 2 conditions) I have a lot of covariates to control for. So i performed different ANOVA's with just one covariate at a ti...
Having read about logistic regression, I understand that the probabilities of the success of the DV, P(Y=1), do not necessarily grow the same at every level of the independent variable. This is why you can't interpret the coefficients right away like for OLS, saying an increase in one unit of x1 increases P(Y=1) by b1 ...
I'm looking for a way to run a repeated-measures multiple regression in R, which would take care of sphericity - either by applying some corrections (such as Huynh-Feldt), or by avoiding the problem in some other way. I have 2 factorial repeated measure variables: 3- and 2-level (roi_ant, roi_lat), and a quantitative b...
I am using the data veteran from R package survival. How can I diagnose the normality assumption about time? Should I need to perform a linear regression to measure the dependency of time on age and karno? Are the following commands all to answer the question? or Do I need to add more information? #diagnoses nor...
I have a data set of two variables as class and test score. Where class is a classification made by experts and test score ranges 0-10. The data set looks like: Class score 1 5.61 1 4.23 2 6.78 3 8.34 2 7.42 3 9.59 How can I find the boundaries in test scores which match cla...
I was told that this hybrid is wrong and I should never use it for any serious writing: We estimated all of the ARMA models considered in this paper using the standard procedure of maximum likelihood. We based model selection on the Schwarz Bayesian Criterion, with the requirement that all parameters were significant...
I am running a summary(aov(...)) in R and I got this message: Estimated effects may be unbalanced What does it mean? How may I solve this problem?
I have a dataset of three groups of cells treated with 10 different compounds and am not sure how to check for significant differences between those treatments. Within each group the data is also paired. I tried doing an two-way ANOVA; however, that doesn't work because of the unbalanced sample size. I then used GLM i...
Although the title of the question appears trivial, I would like to explain that it is not that trivial in the sense that it's different from the question of applying the same statistical test in similar datasets to test against a total null hypothesis (meta-analysis, e.g. using Fisher's method for combining p-values)....
I'm defining a Multinomial-Dirichlet model in JAGS and want to assign some hyperpriors to the parameters of the Dirichlet distribution. In the WinBugs manual I read that "the parameters of Dirichlet and Wishart distributions and the order (N) of the multinomial distribution must be specified and cannot be given prior d...
I've used factor analysis for questionnaires and such before, but I have a new research question now and it doesn't seem like anything similar has been done. I've had participants rate 8 news articles on a variety of measures. However, each measure is provided by the participant themselves based on meaningful differenc...
I have a slope $b = 0.9543$ with std err $s_b= 0.1172$ . I compared this to a theoretical slope $\beta_0 = 2$, which is significantly different at the level $ p = 0.00044$ (df=4). But what I actually want to know is the p-value for the difference between $1/b$ and $\beta_0 = 0.5$, which comes out as $p= 0.0066$. Am ...
I am building a model with a highly significant interaction. This interaction was one of our main hypotheses. It is clear, however, that the form that the interaction takes does not represent a meaningful change across levels of either variable (one of which is time). The interaction is of 2 quadratic terms (and all...
Which components should use for plotting in a PCA analysis? Should it be component 1 versus component 2, or any combination that shows clustering is okay to use? Also, I have seen that in a few cases the axis labels mention the variance that is shown (e.g. it says "Principal component 1 (Var. 58.09%)"). Does this mean ...
I am wondering if there is a way of calculating the following: I have a bag with 5 balls numbered from 1 through 5 that are going to be drawn. Due to different weights, the balls have different probabilities of being drawn: $P(Ball1) = 0.4$ $P(Ball2) = 0.3$ $P(Ball3) = 0.1$ $P(Ball4) = 0.1$ $P(Ball5) = 0.1$ There wi...
Can anyone suggest where to obtain the results of the 10,000 coin flips (i.e., all 10,000 heads and tails) performed by John Kerrich during WWII?
I have situation in which I compare many genomic regions between two or more cell lines (CL). Each region is covered by n probes measuring the level of methylation (continuous variable). The coverage (value of n = sample size per region, generally varies between 4 and 20) is different for different regions (array prope...
I'm trying to fit linear mixed models to 3 different DV (so three models). I understand that REML gives less biased variance estimates. As im more interested in the fixed effects, I use ML for the initial stepwise model reduction based on AIC-values, and use REML to fit my final (reduced) models. However, if I got tha...
I have a table in which the multiple linear regression results is provided. If I have unstandardized coefficients and standard error for each independent variable, is it possible to calculate standardized coefficient (Beta) and coefficient of determination ($R^2$) from these data. My friend provided $R^2=0.41$ for th...
Let's say I have 7 urns filled with random numbers of colourful marbles. An example dataset is as below: data <- matrix (c(5,3,4,4,4,2,1,1,1,1,1,2,2,1,2,2,1,1,2,1,4,1,1,2,4,1,3,1,7,1,1,2,1,3,3), ncol = 5); rownames(data) <- as.character(seq(1,7)); colnames(data) <- c("red", "blue", "yellow", "green", "pink"); I assume...
I fit a mixed effect model to one set of data and now I want to check its performance when applied to another data set. I want to plot a figure of "predicted value" and "observed value" and calculate $R^2$ to evaluate model performance. Is there any code or command for this in R software?
I am a clinician who is trying to fit a model that predicts the absolute risk of individuals developing cardiovascular events at the end of follow up period. I came across accelerated failed time models that should enable me to achieve the above purpose. But I don't know how to interpret the output of the model in R. ...
Context: USA economy Background: Its generally accepted that the growth of e commerce has certain curbing effects on the CPI-inflation. Because search costs are much lower online, people always go for the lowest prices and this makes online retailers fight to price their products lower than everyone else. Plus, there ...
I am trying to estimate the parameters for a shifted beta-geometric distribution to model user churn, as shown in this paper. The log-likelihood function is described there and solved via Excel, and I am attempting to do the paramter estimation in R. The function is below. $$ LL(\alpha,\beta \space|\space data)=\Sigma ...
I do clinical research and I am often asked to compare groups of vastly different group sizes. I try and get my clinicians to collapse categories when possible. I would like to definitively say that you cannot compare three groups with ns of 1, 10, and 98. Another example would be ns of 3, 60, 40.
The formula for $t$ in a hypothesis test is given by: $$ t=\frac{\bar{X}-\mu}{\hat \sigma/\sqrt{n}}. $$ When $n$ increases, the $t$-value increases according to the above formula. But why does critical $t$-value decrease in the $t$-table as $\text{df}$ (which is a function of $n$) increases?
I have two samples of data, a baseline sample, and a treatment sample. The hypothesis is that the treatment sample has a higher mean than the baseline sample. Both samples are exponential in shape. Since the data is rather large, I only have the mean and the number of elements for each sample at the time I will be run...
When we train a model for classification, we call it a 'classifier'. When we train a model for regression, what do we call it? The only thing I could think of was "regression model" or just "model", because it doesn't sound like correct English to say "the regression predicted a value of 0.5", whereas it does sound cor...
I am looking for classifiers that output probabilties that examples belong to one of two classes. I know of logistic regression and naive Bayes, but can you tell me of others that work in a similar way? That is, classifiers that predict not the classes to which examples belong, but the probability that examples fit to ...
Suppose I have a non-stationary limited data. Do I have to make it stationary before making forecasts? Can I use exponential smoothing, moving averages or even Holt Winters methods without making my data stationary? I've read that time series should be stationary to use such methods? Is that correct?
I am trying to write a simple likelihood function to calculate the binomial probability of $X$ successes from $N$ trials. The problem is that the expected proportion of successes ($p_X$) is itself a binomially-distributed variable with $Y$ successes and $M$ trials. That is, there a simple way to calculate $\text{E}(X)...
I'm using Weka multilayer-perceptron classifier to do classifications. I want to know after exactly how many epochs the neural network converges(weights don't update any more). I'm using its java API, but I cannot figure out a way to get the weight variables and test whether they're still changing or not in a loop. Can...
I’m hoping for some help understanding the concept of RVs with respect to their use in the theory of drawing inferences on a population from a sample. To draw inferences on a population using a sample it is said that the observations must be i.i.d. RV's. I'm considering the example of a weighted die. If you wanted to t...
I am trying to estimate a multi-state model and am following the setup in the book by Mills (2011). The research units can go through different states a, b, c, and d. The research units can move between any of the four states in either direction. My problem is how to set up my data to do so. I initially started out wi...
I am trying to implement the Grassberger Procaccia algorithm. I have got stuck in how to find the summation of the correlation integral. The following code computes the correlation dimension in the polyfit command. I cannot understand how this command is finding the dimension since the derivative or slope of the corre...
Stepwise Regression works as follows if I'm correct: fit the initial model add the variable which has its f-stat larger than a in-threshold and repeat step 2. if there are no candidates to enter - go to step 3 if there is a variable with f-stat less than a out-threshold, remove this variable and go to step 2. Otherwis...
I'm trying to understand the Newman Modularity (doi:10.1073/pnas.0601602103) by investigating its calculation on the Wikipedia example . My question is why are probabilities of self-loops included in the Q formula while the adjacency matrix A has no self-loops? i.e., given the standard definition of modularity Q... $...
I'm using the ANES dataset, which is a repeated cross-sectional study of public opinion and knowledge. I am trying to predict knowledge by individual level characteristics. The data is organized by year, and each respondent is grouped by age into an age cohort. Essentially, I am trying to run multiple multinomial r...
I need the best machine learning method/algorithm/technique to predict energy consumption. The given training dataset consists of 2 years of energy consumption, with entries every 15 minutes. In addition, weather data (radiation, humidity, temperature and wind speed) are given every hour. Now as input, I have a few ent...
I have read the help manual of caret carefully: see A Short Introduction to the caret Package. In its example, I found it split the data with createDataPartition before a model training. library(caret) library(mlbench) data(Sonar) set.seed(107) inTrain <- creatDataPartition(y = Sonar$Class, p = .75, list = FALSE) str(i...
Has anyone attempted to use Empirical Mode Decomposition(EMD)-Support Vector Regression(SVR) in nonstationary time series forecasting? It seems quite interesting. As I observed it has high performance compared with single SVR. But I didn't find it as a real approach for time series.
I have a general question on fixed-effects and mixed-effects models for panel data. I am doing a logistic regression on panel data, with data measured on the individual level. I understand that by using fixed-effects in my model (xtlogit...,fe in Stata) I basically ignore or do not look at the difference between indivi...
I am trying to understand when MCMC algorithms are utilized. I can do density estimation with MLE for non-linear cases just like linear cases, and EM for hidden variables and missing values. What are the scenarios when these tools are not sufficient and we use MCMC? Thanks
I am trying to create a mediation model for: X1=employee capability; X2 (Mediator)=Company capability; Y= employee earnings Although, I am not sure if I can still say that this will be a mediation model when I believe and support that X1 and X2 have reciprocal relation. Where, employee capability (X1) explains the co...
I think the two functions are all to split the data, but I really can't get the difference between both of them, even I has read the help manual of them.
I have a large dataset of count data --- count of positive cases and total number of cases distributed by distance (in meters). The empirical distribution of proportions and beginning of data are attached (there are 444260 rows, red line is the proportion of cumulative sum) I want to find an underlying, theoretical di...
I am trying to determine whether the data depicted in the following figure shows a plateau phase for higher scramblings. As I have often been encouraged to use linear models instead of anova - I have decided to tackle this issue with lme4. The output I get for my latex document from the texreg lme4 parser is as follow...
I have a set of data of locations and associated rent prices. Now there seem to be several outliers which I would like to get rid of so that a plot of my original data gains more meaning. In the "world" of statistics, would it be acceptable if I did this by eliminating any prices that who deviate from the mean by more ...