instruction stringlengths 9 38.7k |
|---|
I am wondering the correct way to calculate the covariance matrix found by using Maximum Likelihood Estiamtion. The following equation is the result after having followed algebraic steps:
$\Sigma_{MLE}^*=\dfrac{1}{n}\sum_{i=1}^n(x_i-\mu_{MLE}^*)(x_i-\mu_{MLE}^*)^T$
And I interpreted the above equation into matrix form ... |
I am trying to create a coefficient plot from multiple logistic regression models, which all have the same predictors, but different sample sizes. This is a pre-test to a multilevel model. My question is two fold:
Given, I want to compare the effect sizes of the same predictor in the different models, I assume I need ... |
I am working my way for the first time through predicting a continuous dependent variable in a problem where all independent variables are categorical. Say I need to predict a continuous variable starting from a single categorical independent variable that can take 4 values. After dummy-encoding the categorical variabl... |
Although I know some basics of linear classification, I do have some questions about the formalism. In our script, a binary linear classifier $F$ is defined as follows:
$$
F(x) = \textrm{sign}\left(\langle w, x \rangle + b\right) \in \{-1, 1\}
$$
where
$$
\textrm{sign}(z) = \begin{cases}1 \hspace{8.5mm} \textrm{ if } z... |
Consider the integral $$ p(Y) = \int \mathcal{N}(HX, I \sigma_e^2) \mathcal{N}(0, FF^\top\sigma_w^2) dX $$
I'm trying to evaluate $p(Y)$ by solving this integral. However, so far I'm not able to do it. We know that $p(Y)$ is Gaussian. So we just need to work with the argument of the exponential function. $$p(Y) \pro... |
I have been attempting to solve this set theory question, and am unsure exactly how to answer part b) :
For part a), I got P[A] = 0.4 and P[B] = 0.5. For part b), the only way I can see to solve it is to assume that $P[A \cup B \cup C] = 1$. This is my current working:
$$
\begin{align}
P[B^c] &= 1 - P[B] \\
\therefore... |
Consider the bivariate stochastic process:
\begin{equation}
\begin{cases}
y_t = \alpha y_{t-1} + x_t + \epsilon_t \\
x_t = x_{t-1} + \beta y_{t-1} + \nu_t
\end{cases}
\end{equation}
with a bivariate white noise {$\epsilon_t,\nu_t$}.
Find the admissible triangular region of the parameters $\alpha$ and $\beta$ for the st... |
I know that most statisticians are against removing outliers unless one carefully looks at the data, however there might be applications where multiple models are automatically generated and hence looking at the data is not possible, so the process needs to be automated. When outliers are present because of errors in m... |
I am trying to get the correlation between 2 variables, given a set of data.
Once in a while, in the given data set,When one of the variables has a constant value, since the standard deviation of that variable is zero, I get an NA value for the correlation. (In R).
I would like to assign a value for the correlation in ... |
I am looking at the effect of threats on populations of animals using mixed effects modelling. However, when interpreting the LMM's output the intercept is based on one of the threats, which is in overall decline. Is there a way to impose an intercept in an LMM that I can set the values for?
When I make a results tabl... |
What is the basic difference between confounding and interaction? Is it possible to occur both at the same time in data? Can anyone please explain this plainly and with an example?
|
I'd like to know the necessary assumptions of maximum likelihood estimation for a linear regression. Hope to hear some explanations.
|
This may seem so simple, but im new to r and would really appreciate if someone could tell me how to set all outcomes in a variable/dataset which are above 1 to 1. putting the max value at 1
|
Assuming a normal likelihood function is used for a maximum likelihood estimate of $\mu$, how can I prove that the maximum likelihood estimate of $\mu$ actually provide a maximum likelihood estimate?
The following is what I have done to get a maximum likelihood estimate of $\mu$ for a multivariate normal distribution:
... |
I have a single ordinal sample, where there are five possible scores (1-5). Most of the scores are the middle value (3), so tests of the median are no use to me.
I am interested in the other scores: those in {1,2} and {4,5}.
I can count
x = the number in {1,2}
n = the number in {1,2,4,5}
and do a binomial test with s... |
Where can I find a reliable word2vec model trained on some English articles?
I need a word2vec black box, where I, for example, can pass a sentence as array:
["London", "is", "the", "capital", "of", "Great", "Britain"]
and receive:
[some_vector_of_floats1, some_vector_of_floats2, some_vector_of_floats3, some_vector_of_... |
I conducted an experiment where some participants were subjected to high levels of CO2 for 11 consecutive amounts of time. Some were controls "C" that had no CO2 but thought they did and the rest "N" were actually subjected to high CO2.
A boxplot of their respiration rate over time looks like this:
Normalising the res... |
Does anyone know what is the difference (theoretically speaking) between
under sampling
over sampling
weight based classifiers
when dealing with highly imbalanced datasets (1:1000, 1:10000)?
When is it recommended to use each one?
Is there a theoretic justification for any of these methods? or do they just "work p... |
I'm working with a dataset containing crimes data from Chicago. There's a lot of geographical data, and I'm looking for advice on pre-processing.
We have qualitative variables represented by integers, the blocks for example : 2 blocks with a close number aren't necessarily close to each other.
Will the algorithms lear... |
My goal is to classify samples based on their dynamic time warping distances with k-nearest-neighbor classification.
Therefore I compute a nxn matrix, where n is the total number of samples. This matrix contains the distance from each sample to each sample.
The precomputed metric should be the right choice for the task... |
I'm doing a exploratory factor analysis for an investigator who wants to find factors from 7 variables. I did a preliminary analysis and found two main factors, each have 3 variables with loading > 0.6. There's one variable left alone for itself as a factor with loading >0.99. Should I report it as one factor or just l... |
Let's say I'm doing a two-tailed hypothesis test at 5% significance level and get a test statistic that corresponds to a p-value of $0.03$. As it is two-tailed I double it and therefore, as $0.06 > 0.05$, I fail to reject the null hypothesis.
However, let's say now I'm checking for a result strictly greater than the me... |
I'm trying to calculate the amount of noise in data that fits to an exponential decay function. I'm trying to calculate signal-to-noise at different times of the data. Here is the code for how I create some data:
import numpy as np
import matplotlib.pyplot as plt
from scipy.optimize import curve_fit
time = np.arange(0... |
I've been experimenting with the seasonal_decompose() feature from Python's statsmodels (equivalent to the same in R). The problem is that the 'seasonal' series it extracts uses the whole timeseries, where in reality, at some point in the past, such data would not have been available.
Is it possible to produce this sea... |
I wonder if sklearn has any feature selection mechanism that chooses features that are highly correlated with target variable and maintains low inter-correlation among them. I know there is one in Weka, called CfsSubsetEval. I wonder if there is any equivalent method in sklearn. I have checked but could not see any rel... |
I'm wondering whether it's a valid approach to construct a model that uses a panel of company data that is available with yearly frequency to predict outcome data that is available at a quarterly frequency.
I guess our setup in this case would be to repeat the yearly data for each of the following 4 quarters (in which ... |
In a prediction experiment with regularized regression methods (Ridge, Lasso, and Elastic Net), I have tried two feature-selection methods prior to running regression, and I have obtained very similar results although the feature sets were largely different as determined by the feature-selection methods.
First, I used ... |
After browsing in CV for some answers, I haven't really found what I am looking for.
I am planning to run a regression (on Stata) between the client satisfaction (Y) and the provider satisfaction (X1) and some socio-demographic variables (age, gender, income). All the data I have comes from surveys. I combined differ... |
I'm trying to build an arima model for some data that has a lot of missing values. I find that if I leave the predictors for month, day, hour, year out I can train a model quickly, but if I add them I get the error below. Is there a setting in auto.arima that can be used to deal with na, or does anyone have any tips. ... |
A fair four-sided die has its sides labeled U, D, L, and R, respectively. A token is placed at (0, 0) on the Cartesian plane and the die is then rolled repeatedly. After each roll, the token is moved as follows:
Token Moves
U (a, b) → (a, b + 1)
D (a, b) → (a, b − 1)
L (a, b) → (a + 1, b)
R (a, b) → (a − 1, b)... |
I'm using pre-trained word2vec model lexvec.enwiki+newscrawl.300d.W.pos.vectors with gensim
this model "knows" a lot of words, but it doesn't know things like this: "great britain" or "star fruit"
how to use phrases in my case?
|
The expected number of events for a Poisson distribution under a Gamma prior with parameters $\alpha$ and $\beta$ (with mean $\alpha/\beta$) is:
$$
\newcommand{\paren}[1]{\left(#1\right)}
\begin{aligned}
\sum_{k=1}^\infty k & \cdot P(k \mid \alpha, \beta) \\
= \sum_{k=1}^\infty k & \int_0^\infty P(k \mid \lambda) p(\la... |
I am dealing with grocery shoppers' transaction data and trying to measure how a customer regularly shops for a certain retailer.
With the intershopping time (days), How can I measure each individual's shopping regularity?
Can I use just standard deviation? or Can I use a measure of volatility?
|
I am using RandomForest to generate a model to detect burned forest areas based on the reflectance values of satellite imagery. The burned area accounts, on average, for 10% of the pixels in my images, meaning i have a real world ratio of 1 burned area to 9 non burned. A random sample of 10.000 observations has led me ... |
As I understand classical recomendation system (like Netflix for example) use user-movie relations to predict missing data - rating that user will set to movie.
But what about some kind of recomendation system that operates vector-vector realtions (vector length not necessarily equal), for example something like dating... |
After using model selection methods, I've arrived at a final model which removed two of the predictors out of ten. My question of interest is whether one predictor has a positive relationship with the response. The final model has a positive coefficient for that predictor, so can I say that my hypothesis was correct?
|
I want to compute a test statistic based on the Euclidean norm of two data matrices with same number of columns (i.e variables) but very different number of rows (i.e observations).
I am using the eqdist.etest function from the energy package which requires that I combine the two matrices as the first step.
Can you te... |
I have some data and wish to fit several distributions to it, many of which are compound and/or complex. I'd like to know whether a given family of distributions is appropriate which I can apparently do via Anderson-Darling.
Wikipedia:
Essentially the same test statistic can be used in the test of fit of a family... |
Given the following model:
$$ y_t = \alpha x_t + \epsilon_t~~~~,~~~\epsilon_t \sim NID(0,\sigma^2) ~\text{and}~~x_t = y_t + z_t$$
Given that $z_t$ is a non covariate variable with $\epsilon_t$, how is it possible to derive the following unbiased OLS estimator of $\alpha$:
$$ 1 - \dfrac{\sum_{t=1}^T z_t^2}{\sum_{t=1}^T ... |
When cohort matching (I'm thinking specifically of either propensity score matching or Mahalanobis distance matching), is it appropriate to include the same covariate(s) in both the matching and the final outcome models? Or can you only include a covariate in either the matching model or final model, but not both? In o... |
If my likelihood has the form of a beta distribution, and I want to use Jeffreys' prior for its parameters, what is form of the prior?
For some distributions its pretty straight forward to calculate. for example, in the binomial case, the expectation of the second derivative clearly gives you $\operatorname{Beta}(0.5, ... |
This question has been asked before, but I have a specific case I'm curious about. Essentially, I have a very low MSE, but the R^2 turns out to be negative. Even the scatterplot shows that a horizontal line isn't a good fit, so I'm not sure what to make of these results. I used sklearn's Linear Regression object, and c... |
I face the following problem: For my startup I came up with 3 different marketing messages. I will display each of the messages to 1000 different people, so 3000 people in total. I will then measure click-through rate.
Now my question is: Which test should I use to test for statistical significance? I want to know whic... |
On p. 383, Fox writes that "[with a gamma GLM] the dispersion parameter is simply the inverse of the shape parameter." I am trying to understand for what distribution this applies to. Using an intercept only model (see first analysis below) it seems that we are modeling the distribution of Y. But when I add a very s... |
Looking at Google Analytics, I can't help but think that the summary stats which present averages have the potential to be very misleading (and probably are, in practice). For some of these summary stats, there doesn't appear to be an easy way to determine the distribution of the numbers underlying the data. For other ... |
I am trying to predict a count variable that ranges between 0 and 10 and 60 out of the 94 examples have the value 4.
I rejected building a classification model, since that would ignore the inherent order of the data. Also, regression models are defined for continuous variables, so generalized linear models are more ... |
I`m trying to make a ARDL model and have 6 variables were the dependent variable are I(0), stationary at level, with 6 lags and the 5 remaining independent variables are I(1), stationary at first differances, with 1 lag.
I was reading in a blog (https://nomanarshed.wordpress.com/2014/11/16/a-manual-for-ardl-approach-to... |
I have two random variables $X$ and $Y$, representing times-to-event, drawn from Weibull distributions. When $Y$ occurs, then $X$ cannot occur after that. Aside from this, we can assume independence. Importantly, we don't actually observe $Y$-events, only $X$-events.
(If it's helpful to make this more concrete: let's ... |
I'm trying to come up with a test for parameter constancy that's general enough to use for both OLS models and ARIMAx models. In all cases, we have non-stochastic exogenous variables.
Here's the chow prediction interval statistic for OLS with $k$ parameters, equation (31) in Chow's paper from 1960, "Tests of Equality B... |
Simple question that I haven't found easily online: why are the estimates obtained from a Gibbs sampler consistent (converge to the true probabilities)?
|
I am building a dataset so I can do time-series analysis at the census-tract level in the United States. I have income data for 1990, 2000, 2006-2010. Is there a way to impute/estimate income values for the years 2001-2005 at the census tract level based off the existing income data I have? If the answer is yes, what w... |
This is more of a follow up question regarding: Confused with Residual Sum of Squares and Total Sum of Squares.
Total sum of squares can be represented as:
$$\displaystyle \sum_i ({y}_i-\hat{y}_i)^2+2\sum_i ({y}_i-\hat{y}_i)(\hat{y}_i-\bar{y}) +\sum_i(\hat{y}_i-\bar{y})^2$$
Where:
1st term residual sum of squares
2nd ... |
In most Neural Network (NN) forecasting studies on Sea Surface Temperature, they stated that they create different models for different lead times of 3,6,9, or 12 months. I still can not understand how is this done. And I need explanation of what does it mean b lead times and exactly how do we use it in the NN model.
|
I understand that, scaling (multiplying or dividing by a constant) the normal vector of a plane, does not affect the plane itself.
But what happens when we do so? Are we zooming in or out of the space, like in a linear transformation?
Or in simpler words, what's the intuitive effect on scaling the normal vector of a pl... |
A common question I get from other faculty members is when they are conducting a longitudinal analysis, i.e., pre-test and post-test, they wonder if where the participants' score at pre-test, i.e., initial level, is associated with their score at post-test, i.e., ending level. in other words, where the participants end... |
I am not sure if I am following the steps correctly. Here, first I do a feature selection:
selection = SelectKBest(score_func=f_regression, k=15).fit(X,y)
X_features = selection.transform(X)
Then, I use cross-validation to calculate the alpha_ with the selected features (X_features):
model1 = LassoCV(cv=10, fit_interc... |
I am working on fleet management system these days, basically, I am trying to predict the usage 'y' of our fleet in a zip code in the future. We have some factors 'X', such as number of active users, number of active merchants etc.
If I can fix the time horizon, the problem will become relatively easy:
y = $\beta$X
Ho... |
Is inference based on a full model appropriate, and if so, in which circumstances?
Suppose you are interested in the potential relationship between a response variable and several candidate predictor variables, and use some form of regression (e.g. generalized linear model) to answer that. One approach to inferring whi... |
I have established that the effect of an independent variable X on outcome Y is fully mediated by a second independent variable M using the approach by Baron and Kenny (1986). However, the theory suggests that the direct effect of X on Y may be moderated by a third variable Z. In fact, the results show that the moderat... |
I want an interpretation of this BP test result:
Breusch-Pagan / Cook-Weisberg test for heteroskedasticity
Ho: Constant variance
Variables: fitted values of envdisc
chi2(1) = 0.02
Prob > chi2 = 0.8829
|
library(infotheo)
> mutinformation(c(1,2,3),c(1,2,3))
[1] 1.098612
> mutinformation(c(1,1,1),c(1,1,1))
[1] 0
Why is there a difference?
I keep reading that this should either be 0 or infinity, yet I get neither
Is this because I have not defined the joint probability?
Why would perfectly similar data have 0 mutual inf... |
In compositional data analysis as studied by John Aitchison, the analogue of simple linear regression is $$Y_i = \alpha\oplus\beta\odot X_i \oplus \epsilon_i$$
Here, $Y_i = [y_1,...,y_n]$ is the response, $X_i \in \mathbb{R}$ is a covariate, $\alpha, \beta = [\alpha_1,...,\alpha_n], [\beta_1,...,\beta_n]$ are the param... |
There is something I am not sure about. If the random variable I'm modelling/predicitng is a 'proportion' (therefore between 0 and 1). So say $X \sim Beta(\alpha, \beta)$.
Now if I want to evaluate my model, do I evaluate it as any other Bayesian regression model (using Standardised Pearson residuals)? So I guess my qu... |
Does any one know of any good plots for 2 categorical predictors with 1 continuous response?
Each categorical predictor has 2 levels each.
Thank you
|
I'm learning about logistics regression and gls regression. And I came across an interesting finding. I have 2 predictor variables ($x_1$ and $x_2$) and if I plot the response variable with $x_2$, there is a nice convex curve in the data. I decided to transform $x_2$ with ${x_2}^2$ (x2a) and add it to the data. So my n... |
I have a series of different DNA sequences and structures that I am analyzing in order to determine their efficacy for a certain kind of experiment. Certain regions of the DNA sequences are analyzed based on their percentage of GC content, minimal free energy, etc., and the values of these calculations are assembled in... |
I have a data set which consists of blank values all categorical variables. I have imputed using MICE package in R. I want to fit logistic regression model on the imputed data sets, however when i use pool function i get the following error :"Error in pool(fit.mi) : Different number of parameters: coef(fit): 20, vcov(f... |
What are main differences between sparse data and missing data? And how does it influences machine learning? More specifically, what effect sparse data and missing data have on classification algorithms and regression (predicting numbers) type of algorithms. I'm talking about a situation, where percentage of missing da... |
I can understand bias-variance tradeoff for the $k$-nearest neighbor method. (Please correct me if I'm wrong.) Small values of $k$ lead to a flexible model with the $E[Y|X]$ estimate, having small bias and large variance. With large value of $k$, we have to average many neighbors, so the $E[Y|X]$ estimate tends to h... |
I'm implementing Monte Carlo tree search for educational purposes and am wondering whether it is useful to combine duplicate states during execution to reduce tree size. Is there some efficient algorithm to accomplish this? I haven't found much about this on the internet -- is this something unusual?
Any input would b... |
I am using statsmodels.api.OLS to fit a linear regression model with 4 input-features.
The shape of the data is:
X_train.shape, y_train.shape
Out[]: ((350, 4), (350,))
Then I fit the model and compute the r-squared value in 3 different ways:
import statsmodels.api as sm
import sklearn
ols = sm.OLS(y_train, X_train... |
As you know, the likelihood of a multivariate Gaussian mixture model with C components and $d$ dimensional $x$ is as follow:
$$p(x|\lambda) = \Sigma^{C}_{c=1}w_c p(x_t|\mu_c,\Sigma_c)$$
where $\lambda=\{w,\mu, \Sigma\}$, $w_c$ is the weight for component $c$ and $p(x_t|\mu_c,\Sigma_c)$ is Gaussian probability density ... |
If variables are stationary at second difference. Is it possible to proceed to next test with variables stationary at second difference or need to transform the variables to make them stationary at first difference then can proceed to next test? I'll be using cointergration test to test the long run relationship then t... |
I'm trying to fit some data with linear regression like this:
Call:
lm(formula = time ~ nDOF:ndoms + I(nDOF^2):ndoms + I(1/nprocs^2):nDOF,
data = dataFact)
Residuals:
Min 1Q Median 3Q Max
-0.077190 -0.007059 0.000202 0.006533 0.148240
Coefficients:
Estimate ... |
I performed a Cox PH estimation of an experiment with a treatment and control group. Survival time is measured in days. The exponentiated coefficient for the treatment group is 1.105. If I understand correctly, this means that a person in the treatment group has a 10.5% higher probability of not surviving at any given ... |
I'm learning statistics but don't really understand the result of kappa value posted in the first sample here.
Is there anyone help me explain in English what the value 0.915 means? (observed proportionate agreement) and the kappa value 0.801. Does 0.915 is the value that both A and B agree with the totally 94 proposa... |
I'm trying to compute EM Gaussian Mixture clustering algorithm.
As I found in Bishop(2009), it explained the algorithm.
Which is we have E-step and M-step in the iteration process. And we could compute the responsibilities for component $k^{th}$ for data point $\textbf{x}_n$ where denoted as $\gamma (z_{nk})$.
$\gamma ... |
I am running a regression model both with Lasso and Ridge (to predict a discrete outcome variable ranging from 0-5). Before running the model, I use SelectKBest method of scikit-learn to reduce the feature set from 250 to 25. Without an initial feature selection, both Lasso and Ridge yield to lower accuracy scores [whi... |
I have 2 lists of word2vec vectors. First list has vectors, which represent fruits names, second list has vectors which represent vegetables names.
I am trying to train neural network on this 2 lists. Output for fruits is [1, 0] and output for vegetables is [0, 1]
Finally, when network will be trained, I want to feed w... |
I have a following generalized linear model with $\log$ as a link function.
Call:
glm(formula = time ~ I(1/nprocs) + ndoms + nDOF + nDOF:ndoms +
I(nDOF^2):ndoms + I(1/nprocs):nDOF + I(1/nprocs):nDOF,
family = gaussian(link = "log"),
data = dataFact)
Deviance Residuals:
Min 1Q Median ... |
Question 1
Two equally sized patches of the night sky are examined:
Patch A contains $100$ stars
Patch B contains $110$ stars
Is there a significant difference between these two patches of night sky? i.e., is one patch likely to contain a star cluster?
Question 2
Traffic to a site is examined in two time frames of eq... |
I have been trying to find an answer for this question.
I have two soil particle size distributions, which both have 4 categories.
I should do a statistical test to find out if they are statistically different.
Chi-squared test would be good for this kind of task.
However, since the particle size distributions are mea... |
I constructed a Likert scale but unfortunately it had some yes/no items. As a result I have to revise it. Can those yes/no items be re-worded as Likert scale items and would this be considered valid?
|
In a research study I have a list of countries and data about them.
GDP
Population
Oil exports
Oil imports
Percentage of electricity produced with renewable energies
Urbanization
Percentage of GDP put into research in renewable energies
Now I would like to cluster these countries into three groups. In the end the g... |
Can someone please explain to me in simple, intuitive laymen’s terms ‘what’ causes the Law of Large Numbers to work and more to the point ‘why’ it works? As in what’s actually going on within the maths to allow convergence to occur instead of not occur? (I’m not a mathematician by no means, and don’t really understand ... |
My study is about the correlation of the person's gender and his or her score in a questionnaire about gender stereotyping. The higher the score in the questionnaire means he or she gender stereotypes more. What kind of correlation statistic should I use? Can I find it in Excel?
|
How the past error autocorrelation in MA models should be interpreted semantically ? Is it used to capture a relationship that could not be captured by the available regressors ?
|
Let's say I have a simple dataset of unemployment numbers over time for a certain country:
[10, 9.5, 8, 7.5, 8.3, 7, 6.8]
And now a person makes a guess for each time period:
[12, 14, 10, 15, 14, 12, 8]
What would be a an appropriate way to quantify the "correctness" of the guess?
I'm guessing I should use Z-scores i... |
I'm using the CS-GLM function in SPSS to calculate regression coefficients for a model. CS-GLM is being used because the sample is stratified.
The outcome is Somatic Complaint (SC), I have several predictors, one of which is is gender. Gender is at the heart of this problem, because the regression coefficients calcula... |
I am wondering if maximum likelihood estimation ever used in statistics. We learn the concept of it but I wonder when it is actually used. If we assume the distribution of the data, we find two parameters, one for the mean and one for the variance, but do you actually use it in real situations?
Can somebody tell me a s... |
I hope it is permitted to ask this type of question here.
I asked many participants to grade the fidelity (i.e resolution) of different 3D models of different resolutions on a scale of 1 star to 5 stars (The Scale:"Bad Resolution" = 1 star, "Poor Resolution" = 2 stars, "Fair Resolution" = 3 stars, "Good Resolution" = ... |
I am trying to characterize latency measurements from a microbenchmark; that is, timing of very small segments of computer programs. I'm struggling to identify good descriptors of scale for this data. Also, I would like these calculations to be linear, with respect to the data-size. (No pairwise calculations, like the... |
I want to fit an interrupted time series model in R. My outcome variable is binary, so I would want to fit a glm model and I know the exact time point of my intervention.
How would I specify a certain impact model in R?
Let's say I want to fit a model where the level but not the slope changes and another model for wh... |
I am building a simple logistic regression model on 2D data. Here is the input I use.
I built a logistic regression model using this data and it successfully is able to find the discriminating line between these two classes. Here is the separating line found by my program:
Also, just for debugging, I plotted number o... |
The Fisher information is defined in two equivalent ways: as the variance of the slope of $\ell(x)$, and as the negative of the expected curvature of $\ell(x)$. Since the former is always positive, this would imply that the curvature of the log-likelihood function is everywhere negative. This seems plausible to me, sin... |
I have a balanced dataset containing 12 different classes (~11000 entries with 104 features). I use PCA to reduce the feature space to 20 features and I am shuffling the feature matrix and the labels to create a training (70% of the data), a test (20% of the data) and a evaluation (10% of the data) sets in order to tes... |
I am using a basic diff-in-diff strategy and have a couple of questions regarding the common trends assumption.
I use panel level data at the individual level and graph the average of the outcome between the two groups across the years. Does this make sense? My diff-in-diff regression will be an model of within playe... |
The two density plots are of sliding window data, each window contains x occurrences in a window size of 2000, with the x-axis representing a percentage (x/2000*100). I want to test whether these two samples (blue n=20000, red n=250) are from the same population (and that the red group has a high(er) associated percen... |
I have a couple straightforward questions and hope I can get some straightforward suggestions. I would like to perform a cluster analysis on species counts that are recorded in sequential time blocks so that I can group species into guilds or communities based on temporal co-occurrence (let's assume I have no useful p... |
my regression is the following
glm_test <- glm(formula=FormulaWritten,data=Regress_Sample,na.action=na.exclude,family=binomial(probit))
I want to compute the cluster robust standard error for this model. I wrote the following
coeftest(glm_test, function(x) vcovHC(x, method="arellano",type="HC1",cluster="ID"))
Do y... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.