instruction stringlengths 9 38.7k |
|---|
Let's say I have some MCMC framework whereby I am estimating two parameters
$$(\log\alpha,\log\beta)$$
The reason for the $\log$ functions is so that the implementation of the joint prior distribution on both these parameters is easier.
Let's say I run my MCMC and have two chains of estimates, one for each of these par... |
I can find examples of people using spectral analysis to break a time series into trigonometric components and then using those components with a multiple regression. Examples:
https://onlinecourses.science.psu.edu/stat501/node/364
Is time of the day (predictor in regression) a categorical or a continuous variable?
Fit... |
Let's say I have a dataset with 1000s of features. To save computation resources, I'd like to reduce this number of features.
There seems to be many ways to do feature selection.
Sklearn has some built in features:
http://scikit-learn.org/stable/modules/feature_selection.html
mlxtend also has some interesting algorithm... |
Similar questions have been asked a lot of times but I have not found an answer that gives an intuitive explanation as to why this works.
For reference I have read the answers here and here.
As I understand it, when we are given a matrix with missing values, one way to predict those values is the following:
Fill the ... |
I have encountered this question while studying and i am not even sure where to start..
Suppose that $X_1, \cdots , X_n \enspace IID \enspace X \sim N(\mu_o,\sigma^2_o)$
with $\theta_0 = (\mu_0, \sigma^2_0)\in \mathbb{R} \times (0,\infty)$. For n=1 and 2, how would you start to obtain the maximum likelihood estimate $\... |
The Cantor function is a good toy example for getting a feeling of scope of the property of continuity of functions. It might challenge our intuition, showing us that the notion of continuity is broader than what we thought.
I'm looking for toy examples of this kind to gain a better intuition on stationary processes... |
I'm very new to statistics and I'm having trouble trying to calculate the likelihoods to find the posterior hypothesis. I've seen similar questions but they are either too complicated for me to understand or i cannot connect them to my problem.
We have an experiment to find if a coin is fair.
P(h0) = The coin is fair
P... |
I'm trying to fit an ARIMA model to monthly CPI. SO far, I've established stationarity using a DF test of the differenced CPI.
I have then proceeded to find the ACF and PACF of the differenced variable, which are as follows:
These are very peculiar to me (i.e. 3 irregular and significant lags after the first for both... |
So here's the following question and I'll explain my solution so far, just want to know if I'm on the right track.
Let X, Y : Ω → R be independent random variables on a probability space (Ω, F, P)
such that X is distributed according to the beta distribution β2,1, and Y according to the exponential
distribution E2. De... |
The code
confint(model, level = 1 -0.15/length(coef(model)))
was recommended by https://stat.ethz.ch/pipermail/r-help/2005-March/067570.html
However, I have two questions:
How do I avoid including the intercept? For example, here is my output:
> confint(ACFL.m1, level = 1 -0.15/length(coef(ACFL.m1)))
... |
Suppose 100 people are assigned to standard treatment and 100 people are assigned to a new treatment. 60 people in the standard treatment group show improvement whereas 80 people in the new treatment group show improvement. Let $\tau$ = $p_1$ - $p_0$, where $p_1$ is the probability of showing improvement when assign... |
I did a poisson regression by hand and want to create a diagnostic plot. Now iam not sure, should i plot deviance residuals vs fitted values or vs log(fitted values)?
Why or why not?
|
I'm working on a project with data that has a continuous endpoint, but the interpretation of the endpoint is categorical. For example, my endpoint ranges from 1 to 100, with "above 50" and "below 50" considered normal and abnormal.
For modeling, I've proposed to model the endpoint as continuous using standard regressi... |
EDIT: I have modified my data set so as to make it effectively decontextualized, and so now have data and example code if anyone wishes to reproduce this effect. You can find it at the bottom of the post.
I am currently running a path analysis on a set of data (I am using the "sem" function of the "lavaan" package in... |
I had a question of probability in one of my tests which I couldn't solve. I think that it could be solved using Bayes rule.
I am not looking for the exact solution but if anyone could explain the concept underlying the tricky problem would be really helpful.
Here is the question -
I have two boxes containing appl... |
I was reading Constrained Clustering with Minkowski Weighted K-Means paper. In this paper, they are using 4 datasets and deriving 2 new datasets from each of the 4. So, total 12 datasets. The description for derivation is given like this:
"This dataset (Iris) contains solely numerical data, it has 150 entities
over fou... |
In other words, is there a paper that describes the method of keras embedding layer? Is there a comparison between these methods (and other methods like Glove etc.)?
|
I am learning Bayesian statistics.
I found that
this pymc3 introduction sometimes uses MAP to estimate the parameters for the MCMC input (the regression example), but the intro doesn't run MAP for Stochastic Vol and Coal Disaster cases.
I understand that when the mode is not representative or if we have experts speci... |
I am working on a weekly revenue forecasting problem and have developed time series models using Holt winter, ARIMA, SARIMA techniques.
ARIMA/SARIMA models are able to follow the variation in training data. But it generates nearly flat prediction for the test period.
These models have been developed using auto.arima(... |
I want to implement a project to find (predict) points scored by each player for the coming gameweek. I am targeting Fantasy Premier League(FPL) for this. What I exactly want to do is using previous data based on some features the model should predict the total points to be scored by a player. Example : Consider a play... |
I am doing research for a data science class and am looking into the benefits of storing all unique words in a document along with the entire document.
I am looking for some research that has been published that averages the number of unique words in a document against the total number of words in a document.
I want to... |
I am not sure if this is the right place to ask and I'm new here.
I'm a Ph.D. student (electronics engineering) studying mainly on (multi) target tracking. The common approach is to use a Bayesian approach, i.e. (extended, unscented) Kalman filters. But these filters are actually for single target tracking, and there a... |
My question regards the hyperparameter tuning for ML algorithms. It has more to do with the theoretical aspects than the actual coding part.
Suppose there is dataset which is extremely imbalanced as seen in cases of fraud detection, electricity thefts data etc with very few positive classes (fraud) as compared to the n... |
I have data of 8 temperature points inside and 8 temperature points outside a city. What is the correct way to test whether there is a significant difference between the two groups of data?
Inside
2.622213186
4.252151239
2.234700412
4.030813475
4.032630189
0.227646957
3.73592274
2.672609685
Outside
0.018780348
0... |
I'm working on a project where we want to estimate how many of a particular bird species there potentially could be in every 10-km square in England. For this I want to use quantile regression to get a 0.90 quantile estimate rather than the mean and so better estimate the possible abundance rather than the current abun... |
I have a PCA addin for MSExcel. One of the results it gives for each component is the R², cummulative R², Q², and cummulative Q². It looks like the cummulative R² is the sum of all previous R² values, while the cummulative Q² is:
$$
cummulativeQ^2_n = cummulativeQ^2_{n-1} +\left(1-cummulativeQ^2_{n-1}\right)*Q^2_n
$$
C... |
We are working with 3 years of 15minute time-interval media data (1million+ entries) and have 14 external regressors (daypart, weekdays, holiday, genres).
Objective is to forecast for next 15-minute intervals for given values of external regressors.
What we did:
- Used auto.arima (with xreg) from forecast package on th... |
If $X = N_x$ and $Y = 4*X + N_y$, where $N_x$, $N_y \sim N(0, 1)$, then we have that $P(Y|X=x) = N(4x, 1)$. If we want to then find $P(X|Y=y)$, I would think that Bayes would work:
$P(X|Y=y) = P(Y|X=x)P(x)/P(y) = N(4x, 1)P(x)/P(y)$.
For x=2, the solution is N(8/17, 1/17). I don't see how this results. Can someone clar... |
I'm building a measurement model with three factors and I don't know how to set the error variance ((1 - reliability) * item's variance) of one of the factors in lavaan. Thanks for your help.
|
I've been working on a regression problem where the input is an image, and the label is a continuous value between 80 and 350. The images are of some chemicals after a reaction takes place. The color that turns out indicates the concentration of another chemical that's left over, and that's what the model is to output ... |
I'm currently conducting a nested cross validation on Random Forest to determine optimal hyper parameters and outer loop generalisation. My dataset has a class imbalance problem with only a few (8%) minority cases. This means my classifier tends to only pick features from the majority class. A solution to this would be... |
I would like to calculate inter-rater reliability for data with pairwise comparisons where different pairs are compared for different items by different raters. This doesn't seem to fit the framework of the standard measures (different $\kappa$'s, $\alpha$) because there aren't "categories" that are common across items... |
The claim is that, for a regression task, the conditional regression function $f(x) = \mathbb{E}[\mathbf{Y}|\mathbf{X}=x]$ minimizes the L2 loss $\arg\min(\mathbb{E}[\mathbf{Y} - f(\mathbf{X})]^2)$. I can see why it's true for a normal distribution. But why is it true in general?
|
I'm hoping to get some direction in how to get a visual feeling for some data. The independent variables consist of 4 tuples of positive integers, such as (1, 4, 3, 100) and my outputs are each continuous positive numbers. In particular, I'm hoping to visually see if there are tendencies in how the 4 tuples clump toge... |
I've a binary classification problem which I want to solve where many features have a lot of missing values.
I know that imputing with mean/median/variance is a solution, but I'd like to run tests only with the original dataset without imputing. XGBoost allows the presence of missing values, while all the scikit-learn ... |
How would I work out if my data (sea ice extent) has a statistically significant trend (increase/decrease)? It is one value per year from 1979 to 2017.
|
I was wondering if i could get some advise on which statistical test would be best to use for my data. Currently I have a grid with each cell having the the total number of rhino or elephant seen. This is monthly data from 2014 - 2017. I would like to determine whether rhino avoid cells where there is a higher presence... |
At a high level, I don't see how the ensemble of simple models obtained by gradient boosting is better than a single, more complicated model? What's the point of doing gradient boosting instead of a simple more complicated model?
Two specific scenarios below:
In an article I read (Gradient boosting from scratch), ther... |
Assume we have a simple linear regression of the form Val ~ Group*Sex, with both Group and Sex being factors with two values. For simulation purposes I'm interested in the power of the Group effect, i.e. how often $Pr(>|t_{Group}|) < 0.05$
It stands to reason that labels for the factors are arbitrary, and hence exchang... |
Suppose you have data on $X$ and $Y$. You're interested in predicting $Y$ but you're only interested in $Y$ when $X > n$. Should you use all values of $X, Y$ pairs or just the ones where $X > n$?
|
i have one question - where do you buy oil from - and two sets of responses from two different sets of people - regular buyers and rare buyers. each response set has 6 options or variable location. an image of how the data looks.
how do i test if the responses vary or are different for groups?
or am i asking the wron... |
I have a couple of questions regarding the analysis of count data using glmms, specifically glmmTMB. I have a four year data set (starting Mar2013 – Dec2016) of insect count data, collected at weekly intervals (allowing for some missing weeks due to bad weather etc..). The same ten transects (or plots) were sampled eac... |
I have a data set with financial panel data from 150 companies. I want to analyse the data using linear repeated measures ANOVA and OLS Regression (so far). For this, I want to use the absolute values (e.g. Revenue 2012-2016) as well as calculated averages (e.g. Avg. Revenue Growth) as dependent variable.
I have ident... |
I was recently reading on methods for sampling from linear distributions of directions. This distribution on a direction $X$ is defined by the density
$$
p(x)=\frac{1}{2}(1-3\kappa)+3\kappa\frac{1+x}{2}\quad \text{ for } x\in[-1,1],
$$
indexed by the fixed parameter $0\le\kappa\le\frac{1}{3}$.
T
his distribution is... |
I'm currently trying to figure out how to specify a generalized additive model in four different ways in order to investigate how my outcome variable changes surrounding different events. So what I want to model is
fixed effect of year from event only, with no person-specific model parameters (i.e., each person is as... |
There was given some data, in which I have carry out a linearizing procedure, using either a power model or a exponential model. From my understanding, power models and exponential models are linearized virtually in the same way, except my stats professor said they were not. How am I able to differentiate between a pow... |
I have a Dataset of daily ATM demand, and i'll build a Machine Learning Model based on Neural network to generate the ATM's cash demand forecasting of the next month to know when we will have the next ATM replenishment. but the plus is that i want to generate this replenishment forecast under a constraint which is:
U... |
I have a data set with about 50 variables but only 10 observational units. This is due to the underlying science, it's difficult and expensive to increase the sample size. I think a large number of the variables are highly correlated, in terms of factor analysis I think there are only maybe 5-10 underlying factors. I w... |
my CNN is meant to classify an image as one out of around 30 categories. I am training on 6400 samples using a batch size of 128. I am using Keras/ Tensorflow Architecture is Conv + Batch Normalization + Convo + Batch Normalization + MaxPooling2D repeated 4 times.
Using an ADAM optimizer gives me following loss curves,... |
On my journey to understand what pseudomedian is I tried to calculate it manually in R using definition from wikipedia. Calculated on my data I found that reported value of wilcox.test was quite different than value I calculated as median of pairwise means of the data (0.275 vs 0.33 while the confidence interval is 0.3... |
My colleagues and I were wondering if is OK to add a constant to the means in the log transformed ratio of means (known also as log response ratio).
The log response ratio and its variance are:
\begin{align} \newcommand{\var}{{\rm Var}}
\ln R &= \ln(\bar{X}_{1})- \ln(\bar{X}_{2}) \\[8pt]
\var(\ln R) &= \frac{(SD_{1})... |
I have a non-linear function of the following form
$y_i = f(x_i,\theta)$
where $x_i$ is known and $\theta$ is a vector of parameters. I have generated $n$ realizations of $y_i$ by sampling from a distribution of my uncertainty on each $\theta$. I then perform PCA (I would like to investigate other forms of component a... |
It's very common for social scientists to have binary or ordinal indicators (e.g., yes/no interview items or likert-rated questionnaire items). It's also very common for them to model their ordered/non-ordered categorical data with structural equation model (SEM)/factor analytic (FA) techniques using weighted least est... |
Suppose I took $M$ samples from a random vector $X_1, X_2, \ldots X_N$ (where $N<M$) and I calculated a covariance matrix $S$ like below, where the reddier the color, the higher the value (for illustrative purposes it was taken from Nilearn):
No assumption is made regarding the joint distribution (but certainly signal... |
I am modeling a random variable as
$T_i\sim\Gamma(\mu_i, \alpha_i)$,
where $log(\mu_i) = X_i + ZU + \epsilon$
$\mu_i$ represents the mean of the gamma distribution and $\alpha_i$ is the shape.
I'm modeling this in R and my current function call is:
glm(T ~ Z, family = Gamma(link="log"))
My question is: is this model... |
I have many temporal series of satellite data. I decided to smooth that using Savitzky-Golay filter implemented in R using the "signal" package.
I could use also other smoothing algorithms, that's not the core of the question.
Is there a benchmark that testify the best "compromise" between the level of smoothing and t... |
I am very new to interpreting cointegration tests and eigenvalues, so any help would be appreciated.
|
I did an experiment and afterward conducted an ANOVA where I got results that were not significant:
Df Sum Sq Mean Sq F value Pr(>F)
type 1 1.91 1.910 0.735 0.3951
sex 1 7.48 7.482 2.878 0.0955 .
type:sex 1 0.05 0.048 0.018 0.8927
Residuals 54 140.37 2.599
... |
I have produced a LISA clustering map showing the types of significant clustering of the proportion of part-time workers in London:
However, as I understand it, 'low-high' describes an area of low value surrounded by areas of high values. How can this be the case if this 'low-high' area is directly next to a 'low-low'... |
White noise has the ACF: $R_{WW}[\kappa] = c_0 \delta [\kappa]$ and zero mean $m_W[\kappa] = 0$.
The first and second order moments of a WSS process depend only upon the time difference $\kappa$. With that being said, since $m_W $ is always zero, it does not depend on time and the ACF doesn't either which is (accordin... |
My CNN model outputs prediction as [1.0,0.8 e-35,0.0] even when i give images containing both class the prediction is this confident, where 1 class gets 1.0 as probability. But in case of multiple objects in image, I want the model to give probability for each class example[0.4,0.7,0.0]. How can I tune my model to get ... |
I am familiar with how to interpret linear regression coefficients when the independent variables are dummy coded and one of them is dropped. And this question helped me understand how to interpret the coefficients when the intercept is dropped instead.
I am also aware of the dummy variable trap, and why it is necessar... |
I have recently learned about Generalized Ordered Logit regression, which is something in-between ordered logit regression (ordinal regression) and multinomial regression.
It frees us from the proportional odds assumption, but it does account for the dependent variable categories being ordered.
It looks perfect for ana... |
I am interested in knowing the proper terminology and formulas for calculating the probabilities for the following experiment:
Twelve volunteers, one born in each month, are randomly arranged.
A "psychic" has twelve placards with each month name, and assigns each person a month based on his "senses." The sequence of a... |
I am trying to do a multiple regression for a model using glm() regression, predict() and prediction(). I need to predict binary results, as my target variable is binary, but I am not getting those kind of results, and I don't know what am I doing worng. This is my code:
model<-glm(formula = NextAccident ~ ., family... |
I have created this post to spark a discussion around an idea I had regarding the choice of the seed number used to replicate the results of a statistical model. Here is some background on how I came up with this idea and how it may be applied.
I have a data set, called data, which has 506 observations, 13 predictor v... |
I have data where different compounds were applied to cells and a numerical readout was measured.
Each compound was used at multiple concentrations
The readout was measured at multiple points in time.
Compound-dose combinations were applied to two types of cells.
The goal is to identify compounds which affect the cel... |
My dataset contains a set of samples from a set of normal RVs. Each RV is normally distributed with equal variances and varying means. However, I have only two samples from each RV.
How to estimate the variance in this case?
|
I have this semi-cross over study design. It can be depicted as two different groups - control and treatment. Patients are initially randomized into either control or treatment group. The control group received placebo in the first 12 months, then received treatment in the next 12 months, and then received the same tre... |
I have a question related to an experiment I conducted about giving behavior. I'm interested in how giving behavior can be manipulated by giving different types of information about charities and what type of information is most effective in doing so.
Every participant in the experiment is in the beginning randomly all... |
I am currently working on the MS GARCH model proposed by Haas paper given below
$\epsilon_n=Z_n \sigma_{\Delta_n,n}$
where $\epsilon_n$ is a time-series of residuals, $\left\{Z_n ,n\in \mathbb{Z}\right\}$ is a sequence of normal independent and identically distributed random variables with mean zero and unit variance,... |
If the weighted least squares estimators are equal to the ordinary (unweighted) least squares estimators when when the errors have common variance $σ^2$ would it mean that the model given by the weighted least squares is homoscedastic and that the weights are equal to 1?
|
I dont fully understand Zscore,
I need to standardise raw data to use them for further uses, so I though about using Zscore. When I calculated it, some of the results I got are greater than 1 and I wonder if I can control these result without ruining the standardisation .
Is it possible to calculate zscore and ensure ... |
I'm trying to generate a covariance matrix between two multivariate vectors with specified variances for each dimension, correlations between dimensions within a single vector, and cross-correlations between dimensions of the two vectors. When I try to generate multivariate normal data using this covariance matrix, I g... |
I have 3 seasonal components in my data. I wanted to estimate each of them. The result is the following:
times <- seq(ISOdate(2016, 1, 1, 0, 0, 0), ISOdate(2018, 1, 1, 0, 0, 0), "hour")
y <- rnorm(length(times))
data <- data.frame(date = times, month = factor(months(times)),
day = factor(weekdays(time... |
I am trying to understand the multinomial logit model as presented in chapter 2 of "Discrete Choice Modelling and Air Travel Demand: Theory and Applications" by Garrows, and I've come across a line that I can't find an explanation for. Including some background, she writes:
"Variables can be classified as generic or a... |
I'm currently reading 'An Introduction to
Statistical Learning' and I'm trying to grasp bootstrapping. I am wondering why a superscript * and number value are used to describe a bootstrapped data set, ie.,
"We randomly select n
observations from the data set in order to produce a bootstrap data set, $ Z^{*1}$"
Where... |
I am confused with the concepts of stratified sampling and oversampling for imbalanced datasets. From what I read in this question here: why-use-stratified-cross-validation-why-does-this-not-damage-variance-related , stratified sampling helps to make sure the sample contains the sample proportion of each class, so that... |
I am trying to decide whether or not I should take a PhD program in Statistics. I am not inclined to get a position at a university after my PhD, my goal is rather to get hired by Contract Research Organizations involved in Clinical Trials, either as a Biostatistician or Statistical Programmer. At the moment, I like wo... |
I'm attempting to use latent variable modelling, as described by Hui (2016) and using the boral package in R, to explore relationships between plant species composition and environmental variables while allowing for possible interactions between species. The species data consist of presence-absence of 165 taxa over 66 ... |
What is the variance of a constant $k$ raised to a random exponent $x$?
$$Var(k^x)=?$$
|
I've been learning about ARMA models in my time series course and noticed that for most ARMA($p,q$) models, $p$ and $q$ never really get larger than 3 or so. Is there a reason why models don't normally have larger values?
Thanks!
|
I'm currently training a neural network with several hundred input features. I'm pretty sure that only a fraction of them are going to be relevant for predictions, I just don't know which ones those are going to be yet.
Unlike something like image recognition (where if you have one feature you have them all) my feature... |
People simply explain it like "If you estimated it, you should've put a hat on it!"
I am trying to introduce Machine Learning to people in a YouTube channel. I want to be able to CLEARLY help them understand why he have a $\hat{}$ in $\hat{f}(x)$.
So here's my reasoning. I want to make sure I have this PERFECTLY right.... |
I've got a daily data set on Bitcoin's price. Trading continues in the weekends, hence there is price data in the weekends as well.
On the other hand, i've got another daily data set. This set does not have data for the weekends.
I want to make a time series regression with the two sets but what should i do with the ... |
I recently developed a DNN model and I want to know what exactly is training time and what all steps are included in it? For ex I carried out the following steps:
Determined best Network Architecture by 5 fold CV ( using Back-propagation)
Once I got the Best architecture I used unsupervised learning to get initial w... |
I have a dataset with 7 variables all binary.
I summed them across rows
var8<- (x1+x2+x3+x4+x5+x6+x7)
which gave me a vector of values 1:7
I then used the table functions to find the frequency of each which yielded:
0 1 2 3 4 5 6 7
82 562 1560 2642 2647 1577 517 94
What I'd like to know ... |
Suppose I have a sample (S) of a graph where S is a subset of G -- the population Graph. Is there a way (theoretical) to compute for bias in the estimation of centralization (as in igraph::centr_degree(g)$centralization) AND use this computed bias to correct my estimate?
Additional info: Suppose I used bootstrap graph ... |
I am working in GLMMs applying lmer4 {glmer} function. In detailed, I have 2 fixed categorical variables (ecoregion and protection), and 1 random categorical variables (id). And I am running the next script:
mdl3 <- glmer(Bimfull ~ ecoregion * proteccion + (1|id), full, family=gaussian(link="log"), glmerControl(optimiz... |
How can I generate n random numbers from (a, b) interval such that these numbers are densely concentrated around min and max and getting progressively sparse in the middle.
|
It seems that similar arguments can be made for using nested cross-validation instead of a simple hold-out test set, as the arguments for using cross-validation instead of a single validation set. The main argument is that using cross-validation leads to a better approximation of out-of-sample model performance. The sa... |
In Matlab, I understand that if a number gets closer to zero than realmin, then Matlab converts the double to a denorm . I am noticing this causes significant performance cost. In particular I am using a gradient descent algorithm that when near convergence, the gradients (of my bespoke neural network) drop below realm... |
We collected samples of bacteria from several locations, and looked for growth of colonies with resistance to 3 different antibiotics. An example of the data might look like (where denominators are the number of colonies from that location, pooling over multiple Petri dishes).
How do we test for the effect of location... |
I am interested in changes in depression surrounding different life events and if personality traits (level-2 predictors) affect these changes in depression. In a given longitudinal data set, each subjects depression has been measured annually 9 times (or how often someone participated in the panel) as well as if a lif... |
I'm reading about concept learning from Mitchell, and I've been looking at the Candidate-Elimination algorithm for identifying a hypothesis to fit a set of training data with binary labels
The algorithm
Initialise the 'specific boundary', $S$, as the set of most specific hypotheses. (Initially, this will be $\{<\emptys... |
I want to train both a single-layer autoencoder and a multi-layer autoencdoer in Keras to reconstruct an input with 24 features, all in the same scale with int values from 0 to ~200000. My question is: what would be the best choice for activation function for each layer for both autoencoders?
In the Keras autoencoder b... |
I want to train an anomaly detection model in python. I have a training data set with some 30,000 observations, 700 of which are anomalies, and I can distinguish between normal and anomalous cases (I know the "classes" of each observations in the training set).
The data consists of 10 continuous features and 1000 categ... |
According to a prescription given on Wikipedia, I tried generating Student's t-distributed random numbers with three degrees of freedom. I also generated these numbers using numpy's in-built random number generator for t-distribution. However, I feel that the numbers that I generated using the Wikipedia prescription do... |
I am reading the book Introductory Econometric for Finance, and there is a formula for finding partial autocorrelation function at lag 2:
$$\tau_{22}=(\tau_2-\tau_1^2)/(1-\tau_1^2)$$
where $\tau_k$ is the autocorrelation for lag k and $\tau_{kk}$ is partial autocorrelation for lag k.
This formula works but I have no id... |
I have a very simple (medical) data set with one continues independent variable X(a biomarker measurement) and y - the dependent outcome variable (binary, disease/non-disease). The question is to find the optimal cutpoint to separate two groups.
My first instinct was to use a logistic regression with 10-fold cross vali... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.