instruction stringlengths 9 38.7k |
|---|
I have used K-mean algorithm for clustering my data , and i have used Calinski-Harabasz as validity index measurement, the value of CH are :
k=2 , CH= 13.41, well separated cluster
k=4 , CH= 269.68 overlapped cluster
The figure is k-mean algorithm with k=2 and CH= 13.41
and the second one is k-mean algorithm... |
Suppose $N(t)$ is a Poisson process with rates $\lambda$. Suppose I've been observing it for $t \in [0, T]$ and recorded events. How can I test the null hypothesis $\lambda < \lambda_0$, where $\lambda_0$ is a given value?
An obvious solution is to derive MLE of rates $\hat\lambda$ and compare with $\lambda_0$. But I d... |
How can I decide for the following estimators ($\bar\beta_1 $ and $\tilde\beta_1 $) if they are unbiased and/or consistent for $\beta_1 $ ?
Lets assume I have a normal linear reg. model
$\ y_i $ = $\beta_1 $ + $\beta_2 x_i $ + $\epsilon_i$
error term is i.i.d
$\tilde\beta_1 $ = ($\ x_2y_1 - x_1y_2$)/ ($\ x_2 -x_1$)
$... |
I have 2 datasets $X_1,X_2$: $n$ and $m$ vectors of $l$ length. The distribution of each point in dataset has finite variance and mean, for simplicity, for $X_j$ and coordinate $i$ the distribution is $\mathcal N (\mu_{ji}, \sigma_{ji})$.
What if I want to answer the question "if variance in $X_1$ is greater than in $X... |
I conducted an experiment using a factorial design and have to analyze some of the variables using a repeated measures in time, which I am analyzing in SAS. I have never used a repeated measures ANOVA before. I work with biological systems and unfortunately they rarely meet the assumptions needed to run statistical ana... |
In general, if we have a large dataset, we can split it into (1) training, (2) validation, and (3) test. We use validation to identify the best hyperparameters in cross validation (e.g., C in SVM) and then we train the model using the best hyperparameters with the training set and apply the trained model to the test to... |
I am running one-way ANOVA to determine whether several groups have differing means. I also run post-hoc multiple comparison to determine which means are different. The problem is that I need to have it showed which sets of groups are not different (like REGWQ test does). The problem is that Levene's test shows that t... |
I am working on building an appropriate model for sequential categorical data in R.
Here is the set up: I have a sequence of categorical predictions whose order I want to analyze. I also have a continuous predictor that is hypothesized to affect transition frequencies between categories. In addition, the data comes fr... |
I have a set of covariance stationary variables which are slightly correlated to each other (<20%). I want to model the dependencies among the variables. I found out, that there are three types of VAR models:
Reduced Form
Recursive
Structural
Which one should I use? When I use the 'wrong' one, how can I detect it?
I... |
It has been the standard in many machine learning journals for very many years that models should be evaluated against a test set that's identically distributed but has independently samples from training data, and authors report averages of many iterations of random train/test partitions of a full dataset.
When lookin... |
I am studying the book Bayesian Artificial Intelligence. There is an example bayesian network see the figure:
For this network the author calculated some numbers. I could not understand how author calculated highlighted probabilities for Xray and Dyspnoea when there is no evidence. See the figure please:
I am tryi... |
I have genomic data that I want to play with. I have 3 CSV files, each with ~300 samples and ~19000 genes, which contain information on expression levels, relative expression levels (tumor / normal), and Boolean values indication mutations. I also have an additional CSV file that has ground truth information (when did ... |
I fit a dataset with a binary target class by the random forest. In python, I can do it either by randomforestclassifier or randomforestregressor.
I can get the classification directly from randomforestclassifier or I could run randomforestregressor first and get back a set of estimated scores (continuous value). Then ... |
I know the question may seem stupid at first glance, but it's only because it's like R has a mind of its own, and doesn't let me in. :)
I did a questionnaire study, and one of the questions was 'For how many years have you been...?' I got 9 different numbers as answers, including both integers and decimals. I had desig... |
In my training dataset I have two classes. I have run rf using the following code
control <- trainControl(method = "repeatedcv", repeats=5, p=.7, sampling = "down")
fit <- train(x = training, y = factor(classe), method = "rf", trControl = control, importance=TRUE)
#> fit
# Random Forest
#
# 27 samples
# ... |
I'm working through the beginner exercise of classifying the MNIST dataset (recognizing hand written digits).
If I train with 80% of the dataset, then test the remaining 20% of the samples, I get ~90% accuracy.
Now, if I create a new sample by hand (using a 28x28 grid in a MS Paint-like application), the accuracy is mu... |
I'm using lrtest to compare two models in Stata. When I get a $p$-value of less than 0.05, does it mean one model is better than the other one? But which one is better? The one that is nested in the other one?
|
I have the following set of numbers: {20, 20, 20, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 2... |
I'm trying to understand logistic regression by training a classifier on the MNIST dataset (a list of hand written digits represented as a list of pixel intensities).
I read about feature normalization (https://en.m.wikipedia.org/wiki/Feature_scaling) but I'm not sure how to apply it to my problem on hand. The training... |
I am trying to figure out why the parameter $$\begin{equation*}
\hat\beta = (X^TX)^{-1}X^TY \end{equation*}$$
is normally distributed in least-squares prediction. (Where Y is a linear function plus normal noise.)
All the examples I've found have said that since
$$\begin{align*}
\hat\beta &= (X^TX)^{-1}X^TY \\
&= (X^TX... |
Can a time series be both trend stationary and difference stationary at the same time? In this situation how do we approach the problem?
|
I have the means of two groups, test and control. I've measured the effect on 5 time points: 0, 1, 3, 6 and 10 hours. I would like to know whether there is significant difference between the means of the two groups and whether it is significant at individual time points. Please suggest which test I should perform and w... |
I am working on an algorithm for community detection on complex systems, where those systems are modeled as graphs. To form community i need to find similarity between nodes.
I am using Jaccard similarity. Normally the similarity value is between 0 and 1. However to detect community, i need to determine a certain thres... |
In my study I compare Finnish and Russian expressions for different parts of the day. I conducted a survey and asked people to refer to a time interval with some non-numeric expression (e.g. if something happens between 1pm and 3pm you might refer to it with the phrase "afternoon"). The thing is that Russian, unlike Fi... |
I am trying to analyze data from a factorial design experiment with three factors: Nitrogen, Phosphorus and CO2, with 2 levels each. I ran a three-way ANOVA in R:
> fit = aov( Chl ~ (Nitrogen*Phosphorus*CO2), data=rr2)
> print(drop1(fit,~.,test="F"))
Single term deletions
Model:
Chl ~ (Nitrogen * Phosphorus * CO2)
... |
Background
Suppose I have observations $y=\{x_1,x_2,...,x_n\}$ of a binary variable $x_i\in\{0,1\}$ (assumed to be IID). Observations are generated by some complicated and unknown system $\mathcal F$. To simulate/predict the output of the system I use a function $f(θ)$, parameterized by model parameters $\theta$, lead... |
What is the best algorithm to reduce the number of data points in a scatterplot? I have a fairly evenly distributed data and want to reduce the number of data points by dividing the graph in sectors and pick just a single representative point in a sector instead of the hundreds or thousands.
I have come across samplin... |
I have a very specific regression problem involving a data set with a general pattern of missing data. The data set has several variables and corresponding binary variables determining whether those variables are expected to have a value or not.
Basically if the binary variable has a value of 1, there would be a value... |
I am trying to understand the weighted least squares estimation method, and I'd really appreciate it if you could shed some light on me. Let me explain my problem briefly:
Consider a linear model in a matrix form as $y=\beta x +e$ with $e \sim \mathcal{N} (0, \sigma^2I)$. To find an estimate of $x$, the weighted linea... |
I recently completed Udacity's Inferential Statistics Introductory course and I selected Haberman's Survival Data Set as my final project's data set (please google the data set as I cannot add more than one link)
My Question
Does the following test selection make sense for this data?
Data Description
Contains Ages, Ye... |
My techniques so far is old school (got my degree in 1980s) - regression, crosstab, ... at best Poisson and negative binomial. SPSS/SAS and now R. Usually just run and report ...
I encounter now real data where the count results look as a sharp peak in 0 and declining then another distribution with quite a normal ar... |
I need some suggestions to how calculate the yields for a silicon process. I'll try to give you an idea of the problem i'm facing.
Basically the manufacturing yield is the ratio between the number of faultless chip and the number of chip created. Usually to have a prediction of this value it is used the Poisson distri... |
I use cforest, a function of the R package Party, to realize a conditional inference random forest. However I don't understand how this function compute the predict variable for a regression problem.
Could you explain me how this work please ?
Can I get in output the median of the mean final tree nodes ?
Can I get the ... |
I have a set of data which is has a very large positive skew, and has been transformed using a logarithm. I wish to predict one variable from another using the lm function in R. Since both variables have been transformed, I am well aware that my regression will output the equation:
ln(y) = b*ln(x) + a, where a and b ar... |
I have been thinking about this question for a long time: I wanted to ask that if we have a fixed effect regression (say data on 30 counties over 10 years). Now, say I run a regression
$Y_{it} = \alpha_{i} + \beta_{t} + \beta_3 X_{it} + \varepsilon_{it}$
Then my question is that if I have both county $\alpha_{i}$ and y... |
I'm struggling to connect the idea of a sampling distribution of a test statistic to the null distribution.
If I run many simple linear regressions on samples extracted from a population of data I can create sampling distributions of my test statistics, in this case for the slope and the intercept.
f <- function () {... |
Suppose that I have a population desribed by $X\sim U(0,\theta)$, where $\theta$ is unknown. I want to test $$\begin{cases} H_0:\,\theta\leq 30 \\ H_A:\,\theta>30\end{cases}$$ using the uniformly most powerful test. By the form of the test, I thought of using Karlin-Rubin's Theorem.
First, one checks that the likelihoo... |
I am interested in developing a model to predict survival based on a few predictors: age, sex, and two lab values, albumin and globulin.
I have approximately 14,000 deaths in the data.
I initially looked at albumin and created separate models for men and women. I used restricted cubic splines for both the albumin ter... |
Longitudinal or repeated measures studies are appropriate if subjects are observed repeatedly over time (balanced or unbalanced).
Is it important to keep subjects that have records only for one time or it is possible to discard these subjects without any changes in the analysis?
What does happen if we discard these sub... |
My question is motivated in part by the possibilities afforded by scikit-learn. In the documentation, there are two examples of how to compute a Receiver Operating Characteristic (ROC) Curve.
One uses predict_proba to
Compute probabilities of possible outcomes for samples [...].
, while the other uses decision_funct... |
What are some good time series classification methods where we have a single time series of some motor and a labelled training data indicating at what points did the motor fail, the rest are normal working. The time series classification model should be able to tell motor state normal or fail based given a set of time ... |
I'm interested in classifying distributions with a high skew. Is it appropriate to say that just because a distribution has a high skew, does it have a large standard deviation?
|
I have a setup that is similar to cocktail problem. There is a microphone array (includes 5 microphones in a line-10 cm spaces each) attached to a wall. I am driving a rc toy car in front of the array and getting audio data for each microphone. Then importing this dataset to a realtime histogram and trying to get the a... |
Is it possible that the accuracy of Naive Bayes remain the same even after applying Standardisation . I have applied 2 Standardisation techniques :
Min Max Scaling ( which squishes the range from 0-1 )
Standard Scaling ( which makes the mean=0 and standard deviation =1 )
My implementation is correct as I checked for ... |
I have a unbalanced data set, that for the purpose of training I wish to balance. What is a better practice? First balancing the train data and then feature scaling/normalizing or using the mean and standard deviation of the skewed set?
Thanks for your help! =)
|
Background: I have a basic to moderate knowledge on probability and statistics. I have familiarity with R programming language and optimization routines.
I'm reading an excellent article "Jobs, Strikes, and Wars: Probability Models for Duration" by Morrison and Schmittlein.. The authors of this article go on to develop... |
I have data from an experiment with the following design:
11 blocks within a forest along an elevational gradient
Within each block, three treatment plots (control, low and high treatment) with unique elevations
From each plot we assessed the height growth of three trees
Sampling was performed annually during ... |
In Bayes' theorem, what kinds of situations would lead us to chose the alternate form (#2) over the basic form (#1)?
$P(A|B) = \frac{P(B|A)P(A)}{P(B)}$
$P(A|B) = \frac{P(B|A)P(A)}{P(B|A)P(A)+P(B|\lnot A)P(\lnot A)} $
|
In R, is it possible to force a lmer model with random effect to be fitted on data with only one level? We want to do this to keep the same model structure in rare case where our data only contains 1 grouping level. In a previous step, we manually fix variance of the random effects (https://stackoverflow.com/questions/... |
I saw this notation for ordinary least squares here.
$$ \min_w \left\| Xw - y \right\|^2_2$$
I have never seen the double bars and the 2 at the bottom. What do these symbols mean? Do they have specific terminology for them?
|
I am trying to calculate a posterior predictive distribution for the magnitude (Euclidean norm) of a 3D displacement vector. Displacement in each dimension is independent and normally distributed (but each may have different means and variances).
$$
X_i \sim N(\mu_i,\sigma_i^2); (i = 1:3)
$$
$$
D = \sqrt{\sum\limits_{... |
I am interested in implementing a Kalman Filtering and smoothing procedure in R without relaying on existing (and excellent) packages such as dlm. Hereby I run (not too surprisingly) into numerical problems when computing the covariances in the filtering densities (and therefor also for all connected covariances). To m... |
I need find which is the best model / variables for explaining the species richness of Coleoptera in Hawaii islands.
This is the input:
biogeo <- read.table("DataIslands.txt", h=T)
species <- read.table("DataSpecies.txt", h=T)
SR_Coleop_Mac <- species$Coleoptera
SR_Coleop_Mac <- log10(species$Coleoptera + 1)
biogeo$A... |
I have a source of data that follows this bivariant Gaussian distribution:
The same source of data produces this 2-dimensional histogram:
Computing the 2d histogram is much less expensive however the source is better described using a Gaussian. My question is: is there a way of approximating the 2d histogram to the b... |
I am attempting to build a multivariate DOLS model. More specifically, it is model that is already being used where I work, but I am trying to replicate the model in R. Currently, the model is used via eViews.
This is not a programming question. My problem, however, is that when the model is run in eViews, I cannot ful... |
We know that,
If $p_{jj}$ is the transition probability of staying in state j at n-th step and j at (n-1)-th step then the state j is said to be recurrent if,
$\sum_{n=0}^\infty p_{jj}^n = \infty$
and transient if,
$\sum_{n=0}^\infty p_{jj}^n \lt \infty$.
My problem of understanding is that if j is a recurrent state t... |
As part of my work (programmer), I need to learn some linear regression. I have a degree in pure mathematics, but not in statistics. Could anyone be able to give me a good book, an introduction, in linear regression?
Thanks in advance!
|
The aim is to predict the breakdown time of a machine as a percentage of scheduled hours for the next day. So my time series looks like this,
Break_down_percentage = 7%, 8%, 10%, 6%, 12 % etc.
There are 315 data points which can be used to test the different models. I used ets(), arima() and nnetar() as a rolling windo... |
I am trying to test a hypothesis that the quality of photographic images of big cats will reduce the ability of humans to identify one individual from another based on fur markings.
To test the accuracy, I graded photos by quality using a 1-5 scale. These were used to create a survey, there are 10 questions asking part... |
Obligatory caveat: Stats neophyte, R neophyte, trying to learn more.
I have daily traffic data for 3k URLs for the entirety of 2016. There is a broad cyclical seasonal trend that the majority of them share, but the extent to which this seasonality is expressed differs. There is a tremendous positive skew to the distri... |
I ran a elastic net regression path for a multinomial model using the glmnet package in R. My response variable has 3 levels (0, 1 and 2 for 3 different stages of a disease).
Here are the coefficient output from the elastic net
# Stage0
# (Intercept) -0.14301343
# Age -0.16305154
# Q1 -0.04925107
# Q2 ... |
I am sure that this has been addressed in other threads, but after half an hour or so of looking, I thought I'd just ask. My apologies in advance.
I am currently looking at suicide rates/100,000 pop by county in a state. The county pops ranges from almost 1 million to ~1,500. As you can imagine, the rates in the smalle... |
Hello I am working with sklearn to perform a classifier, I have the following distribution of labels:
label : 0 frecuency : 119
label : 1 frecuency : 1615
label : 2 frecuency : 197
label : 3 frecuency : 70
label : 4 frecuency : 203
label : 5 frecuency : 137
label : 6 frecuency : 18
label : 7 frecuency : 142
lab... |
I have a rate of injury = 3 per 196 hours of exercise.
Based on poisson distribution, 95% confidence interval for the 3 is 0.62 to 8.77
If I re-scale my data to be rate of injury per 1000 hours of exercise, what happens the confidence interval?
Is it just 3/196 = 15.3/1000 hours and so new CI is based just on the numbe... |
I am trying to understand a result from an academic article analysing paragraphs of text. It reports a significance of p < .001, which is obviously strongly significant. Unfortunately, I cannot replicate this calculation. I assume that this is due to my limited knowledge of statistics, but I would like to rule out auth... |
Suppose there are two types of tests available. Test A: low-cost, but relatively less precise; Test B: high-cost, but more precise. Test B can be considered as the good standard with 100% accuracy. Suppose there is a group of patients with different sex, age, gender and race. The question is, which patient should be re... |
I fit random forest to my imbalanced dataset with minority class 1. I found that the AUC under the imbalanced data was better than that of re-sampled dataset (over/under sampling). Can someone help to put forward some theoretical explanation to justify this observation or please help to point out the underlying problem... |
Information about the data:
The tensile strength of a synthetic fibre used to make cloth for men’s shirts is of interest to a manufacturer. It is suspected that the strength is affected by the percentage of cotton in the fibre. Five levels of cotton percentage are of interest: 15%, 20%, 25%, 30% and 35%. Five observat... |
I have few questions on the meta analysis.
First, the data is longitudinal and according to the CMA (comprehensive meta analysis) guidebook
"Working with more than two outcomes per study
The formulas presented for a difference based on two outcomes can be extended to
accommodate any number of outcomes using contrasts.... |
When I do a meta-analysis with RevMan 5.3, mean and sd for group A is zero and zero, and mean and sd for group B is 47 and 2. The result is "not estimable". How to solve the problem?
|
Thanks in advance for the help.
Suppose someone has an unbalanced coin that they flip 100,000 or so times in a row. This person then gives you the results. You do not know the probability of getting a heads or tails by flipping the coin the person used; all you have is the trace of results from 100,000 flips. In add... |
When I want to run a quadrat count test in the R package 'spatstat' to test my point process for homogeneity, and my window is a rectangle, but an off-90-degree rectangle, how can I have the quadrats line up with my window? Or will the quadrats always be oriented at 90 degrees? What is an alternate solution to have equ... |
I want to do a data simulation where the generated data had the presence of multicolinearity and outliers.
For multicolinearity: p=0, 0.5 and 0.99
Outliers Percentage : 0 %, 5% and 10%
Is 10% outliers percentage enough?
|
I have a data set where I am interested in the regression line the best explains the upper bound of that data. As an example the subset of data 'df2' from 'df' below represents the best 4 points describing the upper bound that all the data lies under:
df <- data.frame(x = c(38, 45, 78, 88, 99, 103, 117, 117, 120, ... |
I am running a power analysis for my one-tailed binomial test, but I have no idea how to calculate the effect size. I have 31 trials, and of those 8 lead to a desired result. The null hypothesis expects 66% of these trials to have the desired result. What should I do?
|
Basically, right now I'm working with data that has reached 1+ TB on MySQL and I need to run a statistical algorithm on it in the future. I also need to process the data as well.
What I'm hoping to do is port it over to a NoSQL database. I was looking either at Redis or MongoDB. Another thought would be to use Hadoop.... |
I'm currently looking through the proof of this lemma and I am getting stuck at this (trivial!) stage of the proof and I was wondering if someone could help? I've written up the part of the proof that I am stuck on -
Lemma Let X, Y be random variables, let a be a real number and ε > 0. Then
$P(Y\leq{a})\leq P(X\leq a+... |
I am trying to develop a NLU (natural language understanding) engine which interprets human language utterance to intent and slots. After some searching, I found this very useful question for NLU novice like me: How to proceed with NLP task for recognizing intent and slots
In the answer, @darshan says:
...use a classi... |
I have two dependent variables that are measured during an experiment, they both change in time (independent variable). The measurements for both variables do not always coincide in time (so they are not really paired). I know that there is a relationship between the two measured dependent variables, and ultimately, ... |
I have a zero-inflated model with censored data
Is there a package in R that can combine zero- inflated model with right-censored data?
Alternatively, is there a general way to model right-censored data using zero-inflated/hurdle models?
|
consider an e-commerce website which daily updates their transaction data. I take interest in predicting the revenue an account generates over a certain time range, say until the fifth year after the first purchase. What I'd like to have is a method which daily updates the predicted revenue at the end of the fifth year... |
Recently I wanted to check wether there is a cointegration relationship between consumption $C_t$ and income $Y_t$ where there is also some autonomous consumption present (i.e. test wether $C_t = a + Y_t$). In my data both $C_t$ and $Y_t$ are of order I(1). However I am unsure which cointegration vector I should test. ... |
Suppose i have the following model:
$Y = \alpha_0 + \alpha_1E_1 +\alpha_2E_2$, where $E_1$ indicates first group($1,2..n_1$) individuals, and $E_2$ indicates second group ($n_1,n_1 + 1,...n$)
I want to find OLS of the coefficients. But columns in my matrix X are not independent(because first column consists of one's an... |
Situation: Comparing mean scores of level of satisfaction across multiple institutions and overall.
Let's say there are 50 institutions, all with different sample sizes.
Level of satisfaction is rated 1 to 5.
I was asked to perform a t-Test to determine outliers and significance of the score differences, with a contr... |
I was reading this when I came across the term collinearity. I tried looking up what it is but top results are related to multicollinearity.
I could find here about multicollinearity
multicollinearity refers to predictors that are correlated with other predictors in the model
It is my assumption (based on their name... |
Suppose I've a multiple regression coefficient in the following form:
y = β0 + β1x1 + β2x2 + β3x3 + β4x4 + ϵ
My question is how to calculate the relationship between partial correlation and beta coefficient in this case. The question is an extension of the following question. In this question @ttnphns showed the equat... |
I have some very empirical data derived from texture analysis of radiology images of lung cancer. As a result of post-processing, there are two nearly identical datasets of 53 cases each, differing only in how they have the tumours have been delineated / segmented. One delineation method is called 'freehand' and the o... |
I have a set of data with one explanatory and one response variable. They are both extremely positively skewed, and so have been transformed using a log to make them 'more normal'.
When I created a linear regression between the two variables, the fit was very good (R squared of 0.85), but the larger values were very h... |
I want to implement face recognition neural network like in this topic(Step 3: Encoding Faces) using dlib library. I already conducted a some research and found out that it's triplet neural network and our goal is to take two images of the first person (x, x+) and one of the second (x-) and find a measurements in which... |
I understand why Gaussian Processes are considered "non-parametric", but why do most authors use non-parametric models for Bayesian Optimization?
What's the benefit of using such models as opposed to parametric approaches? (GLM, etc.)
|
I have a question about one single random variable vs. a bunch of random variables:
If there are n observations from a single RV (call it $X$), and there are n observations in total from n i.i.d RVs (call them $Y_1,Y_2,...,Y_n$), 1 observation from each of the $n$ RVs. The distribution of $Y_n$ is the same as $X$.
Do t... |
I am undertaking a cross-sectional study. I was wondering if this was a valid way to randomise data. I have collected data from an email questionnaire. There are 35-40 responses for each cohort within the study.
Can I randomise these results in this manner: randomly allocate a number to each individual's data and then ... |
Looking at the methodology which uses this log model:
$Log{Demand_A} = \beta_0+ \beta_1logPrice_A + \beta_2logPrice_B + \beta_3Promo_1 + \beta_4Promo_2 + \beta_5logPrice_A*Promo_1 + \beta_6*logPrice_A*Promo_2$
How would this work for training data with the occasional zero demand (log of zero is infinite). Should one ju... |
Suppose I want to check if a series is stationary with the KPPS test;
the literature suggests to take as lags $\sqrt n$ where $n$ is the number of observations. Do you agree with the literature?
Which range would you then choose to test if it is stationary?
$\sqrt n +-1$ or I do not know...$\sqrt n +-10\% \sqrt n$?
Wh... |
So, the beauty of the $R^2$ in linear models or the deviance-based pseudo-$R^2$ from GLMs is their intuitive interpretation for non-specialists. There's also some nice developments on this front for GLMMs (see Nakagawa & Schielzeth's (2013) methods and extensions from folk like @jslefche's https://github.com/jslefche/p... |
I need to estimate a logistic regression that is penalized by the L1-norm. Choosing the penalty parameter by cross-validation is too computationally expensive for my application. I was wondering whether there was a simple formula I can use? I am aware that simple formulas exist in the linear case but do not know of one... |
I have a data set which consists of a binary response, two variables of random effects and a dozen predictors, most of which are categorical. The data set has some 1400 observations, one third of which have missing data (only in predictors). Missing data in each column varies from 0 to 18%, and about 3% of all data is... |
I have a Y count variable (# of predation events) which is overdispersed.
Thus I should assume a negative binomial distribution (actually it is NB distribution seeing the histogram). However, as I run the regression assuming normal distributed data, the residuals follow a normal distribution. This allows me to assu... |
I have a dataset with one dependent (continuous) variable that is not normally distributed and three independent (continuous) variables.I would like to run GLM with one dependent variables against three independent variables. Can I run a GLM without factor (categorical variable) as an independent variable?
|
I am trying to learn Stan in R and as a fun challenge I am trying to estimate the location of a lighthouse based on the observed flashes. But the models I tried do not converge (Rhat != 1) or have estimated parameters with a large spread.
The observed data are flashes from a lighthouse 100 meters away the (straight) c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.