instruction stringlengths 9 38.7k |
|---|
I work with the book 'Introduction to statistical learning with R', link. I got a question about the cross-validation for ridge and lasso regressions (ellipsis indicate that part of the original code was omitted for brevity. The code can be found here).
x=model.matrix(Salary~.,Hitters)[,-1]
y=Hitters$Salary
# Ridge R... |
I am working on the following problem:
I want to show that for a Markov chain with state space $S$, $\sum_0^\infty P^n(x,y) \le \sum_0^\infty P^n(y,y)$ holds $\forall x,y \in S$. I am able to prove this for the case where $y$ is recurrent, by using the result $\sum_1^\infty P^n(x,y) = \frac{\rho_{xy}}{1-\rho_{yy}}$. Ho... |
I collected anaerobic power during a cycle stationary cycle test (Wingate) for 30 seconds. During one trial the cyclist performed the test using a traditional cycling technique. One the other day, subjects were instructed to rotate their hips - exaggerated movement in the transverse plane at the half-way point. I want ... |
A colleague wants to examine the directionality of amphibian dispersal to and from a pond. He set up a drift fence around the pond and had buckets at different positions to capture the amphibians. He measured the angle from the center of the pond to each bucket. There are 23 buckets arrayed around the pond; due to phys... |
I have used flexsurvreg to estimate the parameters of a Weibull distribution and got the following output. I would like to reconstruct the survival function to estimate the survival rate at a given time t.
flexsurvreg(formula = Surv(time, Censor) ~ 1, data = CC, dist = "weibull")
shape 1.02
scale 2630.00
I ha... |
Hi if I rescale a series of numeric variables from, say 1 to 6 to 0 to 1, will the Pearson correlation coefficients be different? I think so, but I'd like to ask people here.
#Set up some variables that run from 1 to 6
#in my data set these are Likert items
var1<-sample(seq(1,6,1), replace=T, size=100)
var2<-sample(seq... |
These are the results of a classification problem using decision tree, naive bayes and 1-nearest-neighbor as classifiers. There are 10,000 data objects and these results were validated using 10-fold cross validation.
+---------------------+--------------------------------------+--------------------+
| classifier ... |
I am looking at clickstream data - sequence of page visits of a user in a website. I am trying to identify anomalies in a session that could be related to bots.
To do so I am looking at a user's session and calculating the time difference between every two consecutive page impressions (views). I am calculating this ti... |
For a $2 \times 2$ table, two ways to do inference on the table is through Fisher's Exact Test and also a Logistic Regression.
I was told that using a Fisher's Exact Test, we are only interested in the presence of association. But that with a Logistic Regression, we are interested in the magnitude of association.
How... |
What is the null model in regression and what's the relationship between the null model and the null hypothesis?
From my understanding, does it mean
Using "an average of the response variable" to predict the continuous response variable?
Using the "label distribution" in predicting discrete response variables?
If tha... |
I have 8 time series data. How do I determine how many lags to use in ur.df from library(urca)?
Is it right to visually inspect the results of acf() and pacf()?
What does it mean if, for the same data, the acf graph cuts off after 2 lags and the pacf graph cuts off after 1 lag?
|
I have to work with 1000 time series of food retail products (with weekly data).
Each of these time series corresponds to the sales of each product.
I need to obtain forecasts for each of these time series and I would like to know if I'm doing this in a right way.
STEP 1: Data Adjustment
With the group_by function (dpl... |
I am trying to use Time-Series Split to establish a training and testing dataset and encountered the problem that I can not incorporate two features in the training set. Use the code below would generate
IndexError: indices are out-of-bounds
from sklearn.model_selection import TimeSeriesSplit
import quandl
... |
A coin with heads probability p is flipped n times. A "run" is a maximal sequence of consecutive flips that are all the same. What is the probability of exceeding 4 groups after 10 tosses?
Now, I have already found that the expected number of runs is:
$1+2(n−1)p(1−p)$
But I have been stuck on this part of the question,... |
So I just started dealing with random forests and I have some questions regarding feature selection.
Should I omit some features if they highly correlate with others? And if so - is there a common threshold or certain method generally used? I ask this because I feel I should since the random forest method picks random... |
I've been using multiple liner regression with several predictors and I was also examining the importance of each one with the R package relaimpo. Now, I'd like to modify the model introducing two more predictors. My problem is that both are constant and I am not sure how to address the regression in those cases (or w... |
The standard definition of an outlier for a Box and Whisker plot is points outside of the range $\left\{Q1-1.5IQR,Q3+1.5IQR\right\}$, where $IQR= Q3-Q1$ and $Q1$ is the first quartile and $Q3$ is the third quartile of the data.
What is the basis for this definition? With a large number of points, even a perfectly norm... |
I'm working with a dataset dealing with product sales in a supermarket. I'm using a large neural network (with large I mean I have many inputs compared to the number of training instances) to forecast the sales, but I would like to reduce the input dimension, using an autoencoder.
Let me describe the input data for on... |
I've got a directed, probabilistic graph (network). See the picture below for a super-simple example:
The adjacency matrix $\mathbf{A}$ has values between zero and one, and it isn't a symmetric matrix.
For each node, I want to calculate some statistic $f_o(\mathbf{A})$, where $o$ is the order -- first-order, second... |
Pearson correlation computes linear association between variables and Spearman computes monotonic relations that could be non-linear. I computed Pearson and Spearman correlation between different features. Both of them gave similar values. What does this indicate. How can a linear method give similar values to a non-li... |
According the p-value Wikipedia page:
When the p-value is calculated correctly, this test guarantees that the Type I error rate is at most $\alpha$.
However further down the page this formula is given:
$$\Pr(\mathrm{Reject}\; H|H) = \Pr(p \leq \alpha|H) = \alpha$$
Assuming 'type 1 error rate' = $\Pr(\mathrm{Reject... |
The goal is to run non-parametric general linear model with no restrictions on the design (e.g. not limited to one-way ANOVA as in Kruskal-Wallis test; quantitative factors should be admissible, etc) and to be able to estimate contrast p-values. Each observation will be converted into rank with no ties.
I saw a few wa... |
I am sorry if this is a naive question, but I wanted to have your suggestions before considering anything. Suppose I have a group of "n" students and I have their score in three courses: A, B, and C. If the scores are not on the same scale, I can standardize them before comparison. For comparing the mean difference bet... |
I am a fresher to statistics. Currently I am doing my project in Finance which is a kind of research.
I have got 30 companies with 1 dependent variable and 3 independent variables. I have data for 5 years. Which method should I use to do regression analysis incorporating data of 5 years? Which software can be used for... |
I am completely new to time series and trying to understand correlograms.
For acf function, there is a lag.max value.
How do you determine the value of lag.max of the data?
Is there a formula or a rule for this?
|
I am still trying to learn (may be the terminology issue) what does "link function" mean. For example, in logistic regression, we assume response variable is coming form binomial distribution.
The $\text{logit}^{-1}$ link function convert a real number from $(-\infty, -\infty)$ (output from $\beta^{\top}x$) to a proba... |
I was given the following problem for a homework assignment:
My solution to Part A gives the joint distribution:
$ P(\text{D} \vert \text{B, e} ) = \dfrac{P(\text{D,B} \vert \text{e} )}{P(\text{B} \vert \text{e})}$
$ \dfrac{P(\text{D=true, B=true} \vert \text{e=true} )}{P(\text{B=true} \vert \text{e=true})} = \dfrac{... |
I have two nominal variables which are site (location) and Depression Scores (PHQ-9). I have found a significant association after running a Fisher's Exact Test (with monte carlo approximation) on a 5x5 table.
I realize that this test only tells me that there is some kind of association b/w site and depression scores.... |
I am fitting a subdistributional hazards model (Fine, Grey 1999) for multiple causes of death in a mortality incidence model following diagnosis of cancer. The researchers are interested in a nomogram, basically a type of risk prediction that allows for multinomial failures. I am struggling to connect cumulative incide... |
I have a question I was hoping this group could help answer or provide more insight on.
I'm looking to construct an overall composite index for counties. Really a simplified version of the County Health Rankings http://www.countyhealthrankings.org/
I have 49 county-level health outcome variables such as prevalences o... |
I've probably read any article on dimensionality reduction of Self Organising Maps but just couldn't fully comprehend this process.
My understanding so far is:
SOM are two-layer networks, whose layers (first - input layer, second - output layer) are connected via a weight matrix.
Dimensionality reduction is the proces... |
I have some data I would like to look at to investigate associations between specific TLR genotypes (wild type, heterozygous, homozygous) and both a binary outcome variable (death) and continues (biomarkers).
Would an ordinal logistic regression be appropriate here? Or separate logistic models between the wild type an... |
Is there i.i.d. assumption on the response variable of logistic regression?
For example, suppose we have $1000$ data points. It seems the response $Y_i$ is coming from a Bernoulli distribution with $p_i=\text{logit}^{-1}(\beta_0+\beta_1 x_i)$. Therefore, we should have $1000$ Bernoulli distributions, with different par... |
Context:
My response looks like a mixture model with two classes as you can see on the picture.
I have a couple of predictors that perform relatively well in a linear regression (Bayesian or not). In the Bayesian context I am using MCMC sampling with stan like this:
\begin{align}
\beta \sim {\rm Student}(7, 0, 20)& \... |
I am surprised to not be able to find a straight forward answer to my scenario. I have created a series of mixed effects models using lme4. I am trying to plot the data in library(plotly), and want to include a surface showing the mean of two interacting variables. I understand I need to create a cubic interpolation sp... |
I have 4 test strata and I need to estimate sample size for each. Each strata have different proportion value (based on historical data):
Stratum #1- Proportion = 0.75%
Stratum #2- Proportion = 1.5%
Stratum #3- Proportion = 5.5%
Stratum #4- Proportion = 1.77%
Population proportion= 1.25%
Next I need to calculate s... |
In a Coursera lecture on multi-variable linear regression with three variables, the professor shows that the sum of the residuals for y* residuals for x) / sum residuals x^2 equals the coefficient for y regressed on x.
Can someone explains why this is so? The relevant code used is below:
$ > n = 100; x = rnorm(n); ... |
Below is the distribution of my outcome variable y in the data, characterized by a heavy mass at zero and very long tail. Can you help me select an appropriate probability distribution for the likelihood in Bayesian analysis? My goal is to figure out the posterior mean y_bar and its credible intervals, given the data (... |
I ran an egarch(1,1) model. I have a negative alpha1 and a positive gamma1 (leverage effect). Does this mean good news is more volatile? Or do you interpret these two parameters combined, I've read the alpha1 indicates the size effect of shock and the gamma1 shows the sign effect? Is it sensible, or is it due to some m... |
I really don't get if X is a univariate normally distributed random variable with a mean of 0 and variance of 1/16. What is the pdf of X?
and what is the State the value of this pdf at 0 as well as the probability that X = 0?
and why the answers of pdf at 0 and probability that x=0 are different?
|
I have a set of predictors with zeroes in over 70% of the observations. These zeroes are actual zeroes and not because of missing information.Should I even try such predictors in my logistic model? If yes, what checks should I do before trying them in the model??
|
I`m working on a problem that involves identyfying same items represented differently, for example "apple iphone 4g black" and "iphone 4g", etc. The data can be very noisy, and items like "iphone 4g black 16gb" and "iphone 4g 8gb" are different. What i have right now is a database of items of store A, that has a string... |
I've run into this issue a few times now, with reviewers requesting more justification for the use of LMMs, traditional tests instead of or in addition to LMMs, and full tables of parameter estimates akin to what you would report with a regular linear model.
Right now my specific issue is a reviewer requesting "A table... |
I was reading Goodfellow, Bengio, and Courville's Deep Learning and in Chapter 20 there is a derivation of the conditional probability $P(h_j=1|\boldsymbol{v})$, the conditional probability of the $j^{th}$ hidden unit being on given a data vector $\boldsymbol{v}$:
Note that $Z'$ is a normalizing constant, and $\tilde{... |
Can someone please explain and derive (algebraically) how if T is a student's t-distribution and X is any arbitrary numerical value; how these two statements are:
$\text{Pr}(T^2 > X^2) = 2\text{Pr}(T>X)$
|
I have a monthly data which includes seasonal and trend components for 5 years ($n=60$).
I did a test the trend of data by using ARIMA.
Does it make sense to convert into annual data ($n=5$) and then test a trend of data by using LSE?
What other methods could I use to test the trend of the data?
|
I have provincial level GDP data for Pakistan from 1970 to 2010-11.
The data estimates are taken from two sources i.e. Sustainable Development Policy Institute (SDPI), Pakistan, and World Bank.
The provincial GDP data from 1970-71 to 1999-00 is based on 1980-81 factor cost (source: SDPI). And the provincial GDP data fr... |
Is it possible for dummy variables in a regression model to take on any value. I added a variable to my model with two variables (one dependent and one independent) and called it a dummy variable that can take on any Integer value > 0. This value also give me some information about my observations. But i was told i can... |
Background: Using a Production Function in form of Autoregressive Regression Model for Regional Perfomance
Hi,
This question is more of a theoretical nature. I have dataset that comprises all data on municipality level (n=290). However, due to data restrictions one variable, "self employment rate" is on county level (... |
I have a basic question about network meta-analysis (NMA). If a comparison between nodes is based completely on direct evidence with no indirect evidence, does that mean that no other interventions are contributing to the result of the comparison in the NMA result? In other words, if A vs B is known to be based on 100%... |
If you have stochastic gradient descent and you want to update the weights $w_t$ with the L2 norm regularization penalty, how is this math done? I am using sklearn for this and am just wondering how the weight $w_m$ is updated according to $l- \lambda||w||_{2}^{2}$. I read through the sklearn docs but they didn't go in... |
In my data water is control and gibberellin is positive control. We want do find the activity of steviol against water and gibberellin. How we do student T-Test?. My data of height of plant in cm is given below.
Water Gibberellin Steviol
Replicate 1 14 23 30
R 2 16 20 ... |
For an assignment we need to run a "least squares dummy variable" regression on a panel data set. We were given that the data contains heteroscedasticity and autocorrelation. Thus, I employed Newey-West standard errors.
My regression is now:
$$Y_{it}=\alpha+\beta_1 X_{it}+...+ p_1D_t+v_{it}$$
I have an dependent variab... |
While building predictive models we often see skewness in the target variable. Then we generally take transformations to make it more normal. We generally do it for linear models and not for tree based models.
This actually means that our distribution is not normal, we are deliberately making it normal for prediction. ... |
I'm new to Named Entity Recognition and I'm having some trouble understanding what/how features are used for this task.
Some papers I've read so far mention features used, but don't really explain them, for example in
Introduction to the CoNLL-2003 Shared Task:Language-Independent Named Entity Recognition, the follow... |
I have a sample that consists of large, medium, and small firms and i want to run a separate regression for each size group. When I winsorize a variable should I do it for the whole sample (i.e. select the variable in the whole sample) or for each size group alone (i.e select the large firm subsample and winsorize it f... |
For a clickstream simulation I require to generate sequences of randomly distributed timestamps.
Each sequence should:
start and end between sim_start and sim_end,
have hit_count number of timestamps
|
Is there a name for the distribution resulting from the sum of outer products of t-distributed random vectors?
Alternatively, is there a matrix-valued distribution with the support of positive definite matrices that exhibits a higher degree of tail dependence than the Wishart distribution?
|
for a clickstream simulation I need to generate a sequence of N client ids, these are defined by Google to be RFC4122 UUID.
These GUID typically look like: "baef6775-eb3a-4ac9-85d3-70e4aa0d9d94"
I found a javascript implementation by
Philippe Sawicki but I cannot understand it or port it to R.
|
I'm wondering how random variables can be analyzed using parametric methods if the distribution is not normal.
For example if a variable Y is normal distributed but I'm interested only on values Y2 which are lower than a certain limit due to agreement.
Can I use the common statistical tools to compute estimatio... |
I need to build a model (M) that converts a 10 dimensional space of inputs (A) into a 20 dimensional space of outputs B.
Both the inputs and outputs are analog, so this is not a classification problem but rather a regression one.
A * M = B
In order to allow some bias I included a last row of 1s in A:
$A = \begin{bmatri... |
I need to find the Quarterly data from the given data.
2014Q4 4993132.965
2015Q1 5140845.555
2015M01 5049003.232
2015M02 5065307.768
2015M03 5140845.555
2015Q2 5277126.34
2015M04 5167891.374
2015M05 5247207.985
2015M06 5277126.34
2015Q3 5319375.997
2015M07 5278779.444
2015M08 5313940.526
2015M09 5319375.997
2015Q4... |
I'm running a small experiment with LASSO regression in R to test if it is able to find a perfect predictor pair. The pair is defined like this: f1 + f2 = outcome
The outcome here is a predetermined vector called 'age'. F1 and f2 are created by taking half of the age vector and setting the rest of the values to 0, for ... |
I've come across this paper
https://uta-ir.tdl.org/uta-ir/bitstream/handle/10106/1827/Sukchotrat_uta_2502D_10083.pdf?sequence=1&isAllowed=y]
where it is described a k-Nearest Neighbors Data Description (kNNDD)-Based Control Chart. (pag 45)
First, the author describes the Local Outlier Factor (LOF) method and then the $... |
Each observation is a distribution of values. Computing the mean $\mu_i$ and standard deviation $\sigma_i$ for each observation $i$ showed that the coefficient of variation (CV) is roughly constant across observations (the Pearson's correlation $r$ between $\{\mu_i\}$ and $\{\sigma_i\}$ is 0.5). Since proportionality b... |
I am interested in theoretical results for the generalization ability of Support Vector Machines, e.g. bounds on the probability of classification error and on the Vapnik-Chervonenkis (VC) dimension of these machines. However, reading through the literature I have had the impression that some similar recurring results ... |
How can I interpret the descriptive statistics of logarithmic transform variables
mean
maximum
minimum
standard deviation
kurtosis
Skewness
?
In case I use log transformed form of the variables in my analysis, do I have the right to use the descriptive statistics of the non transformed variables?
|
I sadly don´t know alot about statistics that´s why I hope you could help me. I´m currently comparing two different configurations of a neural network. My datapoints are the standard deviations of the Neuron activities in the hidden layer after a particular set of inputs. Configuration A has only 3 neurons in the hid... |
I have used Matlab to carry out hierarchical clustering on habitat types. Each habitat has a set of physical characteristics that are quantifiable. Using a set of 50 habitats with 5 variables per habitat, I ran a hierarchical clustering algorithm using Ward's linkage.
This gave me two clusters:One with 22 habitats and ... |
I would like to find out which variables (from a set of 30 binary variables) have the most impact on an ordinal satisfaction measurement (it can reach from 1 - not happy at all to 4 - absolutely happy).
Unfortunately most of the binary independent variables are (highly) correlated.
There are about 20 different shops ... |
For an experiment, I have two groups of participants (one group with pain, one without pain) who are going to perform three tasks. One task is under normal conditions, one task is with overstated visual feedback and one task is with understated visual feedback. I want to compare for each task whether the two groups are... |
I am classifying Portuguese tweets in to three classes, news, noise and relevant. I have used the weka gui to identify a classifying pipeline that gave good results. STWV -> Attribute Selection -> SMOTE -> Random Forest
I have programmed this as follows:
public class TrainBuildClassifier {
public static void main(Stri... |
I would like to use PCA as a method of anomaly detection, however I'm wondering how this is done exactly (I'm using prcomp in R).
I'm really questioning the approach not the R code itself.
Am I right in thinking I first run PCA on a bunch of data to find the lower dimensional subspace representation using the first $k$... |
I'm working with the most recent ACS Census data for New York City. I'm trying to calculate median income for Neighborhood Tabulation Areas (NTAs), which consist of several Census tracts.
The Census provides Median Family Income, Mean Family Income and binned income data, at the tract level - I'm trying to find a way ... |
I have a one sample t-test (against null-hypothesis value 0) for which I would like to calculate the confidence interval on Cohen's d. I know the formula for Cohen's d (sample mean minus zero all divided by the sd). I know how to get the 95% CI for the mean, so I suppose I can plug the limits of this interval into that... |
I have a panel data with unbalanced panel. I am testing a non-linear relationship. I tested a polynomial(quadratic) model for this purpose with following codes in stata.
xtreg y x x2 z, fe vce(cluster id)
z is a vector of control variables. I want to test if the polynomial model is better than a linear one by omitt... |
I am working on my data including the insect abundance in dependence of landscape variables with a nested random effect.
Since i collected the individuals in the field i have count data and thought a poisson distribution would fit best (using lme4).
Currently my model looks like this example glmer(insects~landscape1*l... |
I have a large sample of experimental observations for different categories (specifically, the runtime of an algorithm in different scenarios). I want to plot the mean runtime for each category/scenario and also show the 95% confidence interval using R.
According to the central limit theorem, the mean of each category ... |
Consider a market basket analysis:
Among a certain number of transactions two items sometimes occur together. For simplicity let's assume they always occur together, but not in all transactions.
Now these two items occur together exactly the same number of times and again always together, but among much larger number... |
I'm using random search for hyper-parameter optimization of a machine learning pipeline. For example, for the C and gamma parameter it is recommended to use logarithmically spaced values. Why should I use such values? For example, if I use logarithmic spaced values from $2^{-5}$ to $2^{15}$, then there will be many mo... |
I've fitted a binomial GLM, which returns the summary table shown below. What could be the reason that the estimated value of the predictor spikeCountj2m4 has such a large standard error, compared to the other predictors? (highlighted by a red circle in the table below).
See also the contingency table of the response ... |
I have the next code (and question):
import numpy as np
import sklearn.metrics as skl
import statsmodels.api as sm
import matplotlib.pyplot as plt
x = [30, 28, 32, 25, 25, 25, 22, 24, 35, 40]
y_true = [25, 30.5, 28.61, 38.87, 25.11, 26.08, 22.13, 25.31, 35.32, 36.22]
model = sm.OLS(y_true, x) # simple regression (univa... |
I would like to perform factor analysis to identify latent variables and create indices from my data set that has 144 variables (mostly ordinal) all together.
Before doing so I would like impute my missing data however I cannot do this for the entire data set without reducing the number of variables in it first (error ... |
Let $F$ be a function on the set $\{0,1\}^n$ of $n$-bit vectors. Let $H_F$ be the entropy (in bits) of the source $F(x)$ where $x$ is uniformly random. That is
$$\begin{align*}
H_F&=\sum_{y\in F(\{0,1\}^n)}-\operatorname{Prob}(F(x)=y)\;\log_2\big(\operatorname{Prob}(F(x)=y)\big)\\
\\
& = n-{1\over2^n}\;\sum_{y\in F(\{0... |
Been reading some introductory text on statistical modelling and in particular the concepts of reducible and irreducible errors.
As I understand it, reducible error is the bit we can have any hope of minimising by fitting better models or making our models richer by capturing more of the underlying phenomenon.
The thin... |
The following code shows a toy example for linear regression. I made almost identical columns and plug into linear model.
If we look at the significant code of the p value, I feel counter intuitive that if we use two significant variables but correlated, then both of them became not significant.
what is the reason (th... |
Let's say I construct a series of bundles of different sizes, containing different items, like:
Bundle 1 Bundle 2 Bundle 3
Item A Item A Item D
Item B Item D Item C
Item C Item E Item F
Item F
And so on. Each bundle has a "value". For the sake of this example,... |
Problem: I have to generate in R a synthetic dataset which contains three different variables that didn't follow any known distribution.
What I did until now: Grouping historical values of each distributions in Markov chains, I was able to generate synthetical data that are quite good for my purpose if I evaluate each... |
I calculated an index using factor analysis from a survey data set. What I did is, I used exploratory factor analysis (PCA method) and derive 6 factors after varimax rotation. Now, using the factor scores of the 6 factors I calculated the index by summing up the factors multiplied by its weight:
index = weight1*factor1... |
I have a 2D field of an Eulerian scalar and I'm looking for a statistical index to quantify how clustered or grouped the field is.
Consider the figure below for example (which is not mine, since I can't disclose my data; I got it from google):
If I do the mean or standard deviation on all 3 pictures, the result might ... |
Beside of the easy interpretation, F1 measure is very sensible to the relative frequency between positives and negatives. ROC AUC metric don't, but it is difficult to optimize. Are there any special reason why nobody (or very few people) use any kind of mean between true negative rate and recall?
For example the harmon... |
I have fitted two different binomial logistic regression models A and B. Model A contains only one predictor variable. Model B contains a different set of predictor variables, none of which is the predictor included in model A. There is a notable degree of multicollinearity between the predictors in model B. I want to ... |
I measured electrophysiological signals at two different conditions, baseline and effect. At each condition I sampled 10 signals, because there is a variance in amplitude due to uncontrolable factors (temperature fluctuation, flow variation, interference, local charge shifts ...).
I repeated this experiment with differ... |
I am working on a genomics project, that contains a dataset of ~100 cells (that contains 8 classes of cells) and ~20,000 genes. I am interested in trying to find out what genes are influential in classifying the 8 cell types, but am challenged by the curse of dimensionality.
After doing some research, it seems that res... |
I'm using a neural network to control the movement of a character in a game. I've currently got a huge amount of dimensions and in the interest of trimming them to improve storage and code manageability, I'm considering removing all derived variables i.e. any variable which can be calculated from data already sent int... |
I want to use a few different methods to create different probability density functions. These pdfs change over time as different data is used (rolling historical window used as training data). I want to find out which method has produced PDFs that most consistently represented the final outcomes. Is there a general me... |
I am currently trying to formulate an empirical design that works as follows. In a first step I regress a variable $y_t$ on another variable $x_{t-1}$ and controls $Z_t$:
$$
y_t=\beta_1 x_{t-1}+Z_t\gamma+\varepsilon_t.
$$
Then I test for Granger causality. I estimate these either in rolling window or with time-varying ... |
Suppose dependent variable has more than two possible discrete outcomes. I wonder what is the difference between fitting a multinomial logistic regression model and several pairwise binary logistic regression models?
Do they return the p-values of coefficients?
# ------- Edit.
I did a comparison between multinational... |
I am trying to model data which look like this:
You can think of it as the demand for a solvent in a chemical process (Y axis) in time (X axis). The plot above is only a short slice of the data, in reality the process would last indefinitely. I imagine the data could be generated as follows:
import numpy as np
def pi... |
I have a data set with n=199 observations and p=149 variables. I've tried to fit a lasso regression for reducing the number of variables in a logistic regression, but when i used it, I got that the best model have 0 variables. I don't know if my variables need to be standarized, or maybe my data set is too small.
My co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.