instruction stringlengths 9 38.7k |
|---|
I would like a suggestion on the best way on how to calculate a weighted median in R.
I have this kind of dataframe:
id 2 5 10
1 5408.55 0.00 0.00
10 1158.51 0.00 1006.37
100 18263.69 4205.64 0.00
20 27483.89 7601.01 833.90
id is the sample unit
2, 5, 10 a... |
I want to create a spatially lagged version of my response variable to estimate a spatial autoregressive model in R. To quantify the spatial relationship that exists among the features in my data I have used Generate Network Spatial Weights-tool in ArcMap. Basically, this tool defines the feature spatial relationships ... |
The KL is given by: $D_{\mathrm{KL}}(P\|Q) = \int_X p \, \log \frac{p}{q} \, d\mu.$
The PDF of a Lognormal distribution is given by: $P = \frac 1 x \cdot \frac 1 {\sigma\sqrt{2\pi\,}} \exp\left( -\frac{(\ln x-\mu)^2}{2\sigma^2} \right).$
My Question is if it is possible to obtain an analytical solution for the KL with ... |
I have problems about understanding the intuition and differences about when to apply fixed effects, hierarchical linear models (multilevel models) and hierarchical mixed models. I will try to explain my difficulties in understanding with following example I am currently working on.
I would like to analyze the influenc... |
With the goal of selecting predictors for a 4 level outcome variable I want to apply LASSO for predictor selection. Some continuous variables are related to each-other and should all be in the final model, or none.
Context:
The dataset consists of around 1700 rows of data ($n$) with around 30 predictors (a mix of conti... |
I'm a bit confused about the k-fold cross validation (inner and external) done for the model performance evaluation.
I've read that when you are trying to validate your model, you need to do it without leaking info from the test set to the training set. Data leaking is common when you are doing feature selection on the... |
Suppose I estimated a panel data model (U.S. states observed across 10 years) with a dummy variable to control for an inflationary period like 1973-1974 across all states. Is it possible to include year fixed effects too? Also, does it matter of the fixed panel is balanced or not?
|
I have some data describing a particular state (0=healthy, 1=not healthy), with some variables describing theses states. My problem is that some of this variables does not make sense in both state, as for example: is_your_boss_sick_the_day_before_you_got_sick, wont make sense to have on the healthy state. Also for exam... |
Consider the following scenario: a person is at a train station waiting for a train. The train arrival times can be represented as a Poisson distribution with unknown $\lambda$. The person has already waited for $x$ seconds. What is the best estimate of how much time the person will continue to wait? We have no prior k... |
In an example, suppose we have a hypothetital infinite population of objects of two colors: red and blue, and we know the true proportions of each: $P(red)=0.3$ and $P(blue)=0.7$
Now, suppose I blindly draw objects at random and try to guess their color by using a random number generator which predicts red 30% of the t... |
I have $X_1,X_2 ... X_n$ Gamma-distributed r.v with density:
First of all I showed, that Gamma distribution belongs to exponential family and can be represented in form
I found, that for Gamma distribution $B(\theta) = log(\theta)$ where $\theta$ is $\alpha/\beta$
Then we know, that moment generating function of the... |
Premise: I know next to nothing about survival analysis, I just started. I have a vector of failure times for some machines. Most of the machines (3362 vs 2694) are still running today, so I know they haven't failed, and the failure time is at some unknown time in the future. If I'm not mistaken, we call this right-cen... |
I have data from many people with the following shape (from a survey):
$a$ is more similar to $b$ than $c$
where $a, b, c$ are visual stimuli. I would like to visualize the data in a nice one-dimensional order or two-dimensional arrangement, but I am unsure how to do this based just on the data I have.
Is there an exi... |
I read the following anecdote, but I can no longer find any references to it online.
A group of stand-up comedians were at a diner discussing how long their careers would last. They concluded that the best way to estimate this is by looking at how long their careers had already lasted. i.e., if you've been famous for 5... |
When using prop.test() in R, I noticed that changing my confidence interval does not impact the p value. I use correct = FALSE, conf.level = 0.95, alternative = "two-sided" as parameters in prop.test().
Here, I use 95% CI.
2-sample test for equality of proportions without continuity correction
data: c(332, 307) o... |
I am performing Anomaly Detection using a CNN with a skew ratio of 1:9, and am using auc of the roc curve for evaluation of the model. The output of the CNN is a list of probabilities of positive and negative class. For predicting the label, I am also using a threshold of 0.1 for probabilities. For example,
if P(negati... |
I'm trying to follow how maximum likelihood works by using R. I'm following the example here but with some other data.
But I'm confused by the output. How is the MLE so different from what I'd expect which is 0.7 i.e. number of successes / total number of trials?
# MLE for Binomial Distribution
y<-c(0,0,0,1,1,1,1,1,1... |
I'm a biologist, so for most of you my question is gonna be the dumbest one. I made an experiment with triplicates and performed anova and tukey's test, but the later was not significant. What I would like to know is if I perform a T-test between to groups of samples (different treatments) I will be forcing a different... |
The data are from book ratings done by users. Users were split into three experimental groups (A/B - test). Goal is to understand if users show any difference in rating books between these groups. Carrying out t-test sounds like the first approach to understand the differences.
Since there is slight imbalance in the u... |
I have a problem that I have not seen in the literature or discussed online. I am trying to design an experiment where there will be very few treated geographic units, perhaps only one. You can think of these as states of the US for the purpose of this question. I have historical panel data on both the outcomes and the... |
I want to run a A/B test where option B is more profitable than option A. Option A has a response rate of 70%. Hence i want to achieve a response rate of 70% for both B as well. I want no statistical difference between the two response rates. Lets say i ran N cases through both A and B and received 70% response rate in... |
I have a time series of binomial data $y_i$ with a time dependent $p(t)$. The data is generated iteratively, hence $t \in 1,...,T$. Any suggestions on how to estimate $p(t)$? I feel that the naive approach would be to use some sort of smoothing method (e.g. smoothing splines) to the raw data, but this allows for $p(t)$... |
Suppose we want to select one of $m$ models $M_1,\cdots, M_m$ based on their performance on a validation set $S$. We could do this in several different ways:
Pick the model $M_{i_1}$ that minimizes empirical loss $\text{EL}(M_i,S)$
(Randomly) split the validation set into $m$ equal-sized validation sets $S_1,\cdots, S... |
I have been reading up on the diff-in-diff estimator (following MHE). However, my lecturer said something that confused me:
Say I have panel data of hospitals in low-income neighbourhoods and a variable for patient's health outcome. Now a new policy is introduced such that some hospitals are privatised during the sampl... |
My team and I are working on a project that aims to measure the impact of adding more public bicycle stations in Mexico City on private vehicle traffic. We selected 100 key locations, which are spread around an area, and we have been collecting real-time data (from the Google Distance Matrix API) about how much time it... |
Here is the proof of Variance of sample variance. Can you please explain me the highlighted places:
Why $(X_i - X_j)$?
why are there 112 terms, that are equal to 0?
How do we know, that there are 24,96 and 24 terms of the provided form?
How do we derive the results (3) result(formulas)?
|
Suppose $y$~ $\exp(\frac{1}{2\theta})$
then $\frac1\theta y$~$\exp(\frac12)=\frac14\chi^2_2=\frac14\gamma(1,2)$
then $\sum \frac1\theta y=\frac14\chi^2_{2n}$
then $\sum y$~$ \frac{\theta}{4} \chi^2_{2n}$
However if I go the other way:
$\frac1\theta\frac12 y$~$\exp(1)=\frac12\chi^2_2=\frac12\gamma(1,2)$
then $\sum \frac... |
Suppose that we have null hypotheses $H_1, \cdots, H_n$. What is the FDR rate from Benjamini-Hochberg at level $\alpha$ the under the global null i.e. the assumption that the null hypotheses are all true. According to a book I am reading, it is $\alpha$, but I do not see why this is true. The FDR rate is defined to be ... |
I am confused about the expression "fixed effect" in the context of mixed models. I am more familiar with the terms like "fixed effects" and "random effects" in context of econometrics and the analysis of panel data.
The understanding of "random effects" seems similar in both disciplines and the "random effects model" ... |
I'm reading the introductory statistics and get stuck at chi square test for variances. Like the image shown below, the alternative hypothesis is that
$σ^2 < 7.2^2$
. But if we plug this inequality into the formula for the calculation of chi square value $(n-1)*S^2/σ^2$ (S is the sample standard deviation), the res... |
I am interested in the current state of the art for selecting initial seeds (cluster centers) for K-means.
Googling leads to two popular choices:
random selection of initial seeds, and,
using the KMeans++ selection technique: Arthur & Vassilvitskii 2006 k-means++: The Advantages of Careful Seeding
Are there any othe... |
I was wondering if someone could help me. I have a dataset from a clinical trial which tests the impact of therapy on a group of cannabis users with psychotic symptoms. It's a randomised control trial and 90 participants were assigned to 1 of 3 groups (long therapy/brief therapy/standard care) then their cannabis use a... |
I have a series of binary opinion questions asked of a random selection of people visiting a website. e.g. "Do you support the Death penalty" etc. I also have a number of demographic binary classifiers of the respondents (male/female)(wealth/not wealthy)(liberal/conservative)(college educated/not college educated)(re... |
I have this mass of probability is proportional to $$exp[-\frac{\beta}{2}\parallel x-Hz\parallel^{2}-\frac{\alpha}{2}z^{t}C^{t}Cz]$$ and I have to calculate to its distribution but I don't know how, its distribution is $$\mathcal{N}((\alpha C^{t}C+\beta H^{t}H)^{-1}\beta H^{t} x,(\alpha C^{t}C+\beta H^{t}H)^{-1}.$$
$z$... |
As the title says, the question i have is if a normal distribution can be unimodal shaped in a histogram?
[Edit after reading comments]
Can the histogram of a sample of data drawn from a normal distribution be multimodal?
|
Here's the scenario:
I have many different time series I would like to forecast
I've been through the process of making a seasonal ARIMA model for many of the time series just as part of exploration
Each of the time series also have a set of static (read: do not change over time, but vary by series) variables associa... |
I can't be the first person to think about estimating variance components of mixed models by gradient descent, and then computing BLUP's at each update. Googling, I find little on the topic. But the gradients seem tractable (if messy). I suppose one would be logging the variances to render them continuous. I also s... |
For real-valued samples (possibly known to lie in some interval, but without further constraints on them), I am interested in the tightest possible bound on the sample variance $\sigma^2$, given the sample size $n$, sample mean $\mu$, sample minimum $m$, and sample maximum $M$. The context is that of data-sets with the... |
I have two regressions of the same Y and three-level X. Overall n=15, with n=5 in each group or level of X. The first regression treats the X as categorical, assigning indicator variables to levels 2 and 3 with level one being the reference. Indicators / dummies are like so:
X1 = 1 if level = 2, 0 if else
X2 = 1 if le... |
Decision trees suffer from high variance. Random Forests were suggested as a way of ensembling DT to solve this problem, and were shown to perform well for several problems.
k-NN are also high bias classifiers, so in theory the same approach could be used with them. But I haven't heard much about ensembles of k-NN lea... |
In Semiparametric Regression, Ruppert et al assert that the BLUP for $U_i$ in the model
$$
\begin{equation}
y_{it} = \beta_0 + U_i + \beta_1x_{it} + \epsilon_{it}
\end{equation}
$$
reduces to
$$
\tilde{U}_i = \frac{n_i\sigma_u^2}{\sigma_\epsilon^2+n_i\sigma_u^2}\left(\bar{y}_i-\bar{x}_i\beta\right)
$$
They cite this ... |
I was trying to implement a binary classification in Matlab using this $$ \sum_{k=1}^m(y_i-W^{T}*x)^2 $$ loss function which weights can be calculated from this $$W^{T} = \sum_{k=1}^m(y_i*x_i^{T}) * (\sum_{k=1}^m(x_i*x_i^{T}))^{-1} $$
after I calculate weights in matlab I wanted to draw boundry line which seperate ... |
In reading a Paper on Bayesian estimation, I came across a sentence that had me think:
"Bayesian statistics is not based on large samples (i.e., the central limit theorem) and hence may produce reasonable results even with small to moderate sample sizes, especially when strong and defensible prior knowledge
is availabl... |
I am thinking about exploring the RNN model structure for structural time series. to be more specific, let say my output (target) is a group of variables:
X(1,t) X(2,t), ...X(n,t)
and I believe that there are some Endogenous Effects within this group, which makes a dynamic structural model desirable.
my idea now is to... |
I am making a system that outputs an estimate using some data input (think speech recognition). When testing my solution, I find that low values of knn work very well for data with low "noise" and badly for data of high "noise", however, high values of knn work very well for data with high "noise" but badly for data of... |
A simple summary in R of a cumulative link mixed model (CLMM) provides the AIC value - does anyone know how to find the BIC of CLMMs though? There is not a method listed anywhere in the Ordinal package documentation. I'd like to be able to report both.
|
I want to perform a reinforcement learning experiment on top of an LSTM model.
The LSTM model performs an entity recognition on four entities (Products, Person, Location and others).
Now I want to use Tensorforce as an reinforcement learning engine along with my LSTM model for reinforcing misclassified events back i... |
What is the algorithm that is used to train an Elman Neural Network? and how it works?
And what is the role of the context layer in the Elman model?
Thank you.
|
Am I correct that the probability density function:
$f(x;\theta)=\theta e^{-\theta x}$
is $Gamma(1, 1/\theta)$ or $exp(1/θ)$ or $exp(θ)$ ?
They all have the same distribution?
|
Can anybody shortly show and explain how to do an 1-step-forward ARCH(1) forecast?
|
I am doing an ordinal classification using glmnet, with 3 level class DV: 1 (bad), 2(ok), 3(good). I am trying to fit a model to this ordinal DV, and find best features. The problem is that one of the classes, ie (1- bad), only has 50 out of 5000 observations, the other two classes have around around equal number of ob... |
My understanding of what an estimator and an estimate is:
Estimator: A rule to calculate an estimate
Estimate: The value calculated from a set of data based on the estimator
Between these two terms, if I am asked to point out the random variable, I would say the estimate is the random variable since it's value will cha... |
Is it possible to find the similarity in images by only based on available colour intensity in the images ? What are the challenges regarding this problem ? Is there any way to find a solution for this
I have images like below with 7 sections and all the images have different colour intensity in those sections. How f... |
Unlike linear regression, we do not have close-form result for the weights when training a logistic regression model. So I learned that we can either apply Newton's method or (stochastic) gradient descent when minimizing the binary cross entropy loss together with l1/l2 regularization.
E.g., if we use Lasso, the negat... |
I did the Mcleod and Li test.
There are some critical cases $\text{lag} = 5, 6, \dots, 11$ but not at all. First four cases are located above red line $p=0.05$.
I'm so confused.
What does this figure mean? Are there ARCH effects or not?
|
I am going through the examples on how to use the marima package in R provided here.
"We will estimate the four univariate the models [...]
In order to define the model theprocedure define.model is used [...]
Using define.model the variables in the data which are irrelevant for the analyses are taken out, rem.var=c(1,... |
I would like to have a good feature selection method for a continuous response variable, over around 100 predictors. I would like to keep my model type as linear multiple regression model, rather than tree-based model.
My current method: I could calculate the (linear) correlation between each of my predictor and respo... |
I am interested in this paper by (Ulyanov et al., 2017), but I don't have much knowledge about image denoising. I don't understand why image denoising can be expressed as an energy minimization problem. Where does the following formula come from and what it does it mean?
To demonstrate the power of this parametrizatio... |
I'm working on review data where each review is labeled as positive or negative. My aim is to find topics in those reviews which are perceived either positive or negative.
Therefore I performed a LDA on this data where each input row is either a positive or negative review, i.e. my documents are of the two types 'posit... |
So me and my friend decided to learn about tuning hyper parameter of xgboost using Grid Search CV for a regression problem. We decided to tune parameter such as maximal depth, column sampling and so on. After the process of grid searching, we found our ideal value of each parameter after checking each value that we dec... |
One of the primary differences I've seen stated between Q-learning, as a model-free algorithm, and Value Iteration, as a model-based algorithm is that Value-Iteration requires a "model of the environment" in that it incorporates knowledge of how to transition from one state to another (which I've understood as a policy... |
Looking online I found two way to select a VAR model, using ar() and VARselect specifically this is what I get with my data:
var.auto <- ar(data, order.max = 10)
> var.auto$aic
0 1 2 3 4 5
40.340978 2.861890 0.000000 2.263284 9.561082 14.239344
6 7 ... |
I conducted a cognitive experiment where I coded several behavioral patterns. One pattern is the latency between the start of the experiment and the first behavioral response of the participant. I would like to estimate a probability model for this duration data using a Gamma family.
However, some participants did not... |
I was doing some reading on choosing the score cut-off of a logistic regression model using the KS-Stats. Suppose I fitted a logistic regression model on the train data and now want to decide the probability cut-off to get the confusion matrix. After ranking them into deciles based on the estimated probabilities and ca... |
BACKGROUND
I have a very large file that contains my training data. For the sake of simplicity, assume the data stored in this file is shuffled and stratified so that any idiosyncrasies get as spread-out as possible.
I want to train a neural network on this data file. Typically, a neural network consumes data in batch... |
I have two time series, which are both I(1). I run an ADLM(4) model and compared it with a DLM(4) model (unidirectional: Does X granger causes y?), but the statistic was not significant. Therefore, X does not have any incremental predicting power of Y. I can conclude that X does not granger caused Y.
QUESTION:
Is it m... |
I am trying to understand this behaviour in my shallow CNN (only one layer followed by a sigmoid classification layer. I am training on about 2000 images per class. My learning rate was 0.01 and I was using binary cross-entropy. The final test accuracy was only 54% (essentially no greater than chance). What I don't und... |
I want to compare a price time series generated by a simulation model to real world price data. In the literature, I found a contribution (an A journal article in economics) in which R2 is used for a similar comparison.
However, I am confused whether it is possible to use R2 (among other indicators) to compare fundamen... |
I have a data set where community composition data was collected from 2 sites in a paired design: under the canopy and nearby canopy.
We used mvabund package in R to check whether the communities differed. They do differ. The main problem is to find a way to plot the data and show that communities are different, accoun... |
I am planning to carry out multiple imputation on a large data set with around 4,000,000 observations and 32 variables and 10 interactions. Of these variables six have missing data which I need to impute.
I plan to use MICE package from R and the fully conditionally specified method, outlined here: https://www.jstatsof... |
I am working with count data (number of pregnancies per woman), and using glm Poisson (log-link) to model determinants of the former count variable.
From simple descriptives I observe that my data are overdispersed: Mean = 4.18, Variance = 7.14.
However, after fitting the glm Poisson model with the full set of control,... |
I currently have data where there are 5 labels, 1,2,3,4,5 for my $Y$ variable and a set of associated predictors $X$.
The problem is, I have around $10000$ observations with label $1$ and around only $100$ for label 2, $30$ for label 3, and finally down to $10$ for label 5. I am wondering what is a good way to calcula... |
I have a very limited dataset of around 12k grayscale images and wanted to know if there is a CNN model that I can use for fine tuning or an grayscale image dataset that can be used for pre-training. I dont want to use models trained on ImageNet as I dont want to convert my grayscale images to color images.
|
Title says it all. I understand that the Least-Squares and Maximum-Likelihood will give the same result for regression coefficients if the model's errors are normally distributed. But, what happens if the errors are not normally distributed? Why are the two methods no longer equivalent?
|
In the paper called Deep Learning and the Information Bottleneck Principle the authors state in section II A) the following:
Single neurons classify only linearly separable inputs, as they can
implement only hyperplanes in their input space $u = wh+b$.
Hyperplanes can optimally classify data when the inputs are
... |
In an supervised learning approach, the training data set is already labelled with correct values. So, what is the purpose of evaluating the accuracy of the classifier function after it gets trained with the training data set ?
Wouldn't the accuracy be 100% since all the training data that is being fed will be correct... |
I am reading about 'interaction effects on linear regression' here and came across 'stepwise linear regression'.
There are originally 5 predictors in the model. This means to say that by using the ordinary linear regression, we have $ Y = c + a_iX_i$ where $i = 1,...,5$.
Then it says here: For the initial model, use t... |
I have a paired data set where each subject has been weighed at the onset of an experiment and at the end. I am interested in how growth over time is affected by two crossed factors (feed and enrichment). I have 199 subjects that have all been weighed twice, so there are 398 observations.
My initial model was:
model1<-... |
Just like we have a lower bound for the variance of unbiased estimators (Cramér-Rao), I was wondering if we have an upper bound for their convergence rate. Why do I keep seeing root-n convergence? Is it impossible to go faster than that? Why?
|
I've tried to implement the Fishers exact test on a 2x2 table as described in the Wikipedia entry but not sure of my numbers because it gives a different answer than R according to another question on this board.
Wondering if somebody can check. By way of example, I consider a hypotehtical 2x2 as follows:
Are you in... |
You can show that both SARSA (TD On-Policy) and Q-learning (TD Off-Policy) converge to a certain state-value function q(s,a). However they don't converge to the same q(s,a).
Looking at the following example you can see that SARSA finds a different 'optimal' path than Q-learning.
Is SARSA useless then?
Which attrib... |
The r output I would get is just the summary of a fitted model. For example:
fitmodel = lm(formula = response ~ predictor1 + predictor2)
summary(fitmodel)
I would also be given the $t_{0.25}$ value.
In particular I need to find (by hand) a 95% confidence interval for the difference between beta1 and beta2, which are ... |
Given a random variable $x$ distributed according to a Negative Binomial distribution with dispersion parameter $r$, it can be seen as the sum of $r$ Geometric distributions.
But given the Negative Multinomial distribution (the multivariate version of the Negative Binomial) is it also equivalent to the sum of something... |
I have a (SNP) distance matrix that I would like to convert to coordinates (ideally just one linear scale) in R. I am planning to use the transformed coordinates in principle component analysis along with other variables and would also like to plot the coordinates against e.g. time.
The S/O post here gives an example ... |
I am using the glm function in R to fit robust poisson regression models.
The confidence interval this produces is not consistent with the p-value from the model: confidence intervals that do not overlap 0 have p-values greater than .05. With confint.glmI obtain this CI: (0.078, 2.480 )(=2*pnorm(z, lower.tail=F))
Call... |
I have this data where I have a control and an intervention group. For both of these two groups, I have a continuous outcome measured at baseline $(y_0)$ and at 1 month $(y_1)$. To test for the difference between the control and intervention group, I can create an outcome by $y_1 - y_0$ and run a 2 sample independent t... |
I am looking for textbook(s) (a single one, preferably) covering the material from Elements of Statistical Learning with good scaffolding (ESL jumps around too much for me and serves as more of a reference) and with detailed derivations and proofs of algorithms, as well as outlining with detailed, step-by-step examples... |
Someone just showed me a different way of recursively estimating EWMA based on the exponential sum. The estimator has two different recursions: one for the sum and another for the weight.
$$
\alpha=e^{-\frac{\Delta t}{\tau}}
$$
$$
s_t=x_t+\alpha\cdot s_{t-1}
$$
$$
w_t=1+\alpha\cdot w_{t-1}
$$
$$
ewma_t=\frac{s_t}{w_t}... |
I am trying to create a model that will fit my data. For example this one:
N=100
c=rbinom(N, 1, 0.2)
H=rnorm(N, -10, 2)
A=1.4*c+0.6+H
B=1.5*c^2+0.8/H
Y=cbind(A,B)
so I have a matrix of Y that have two columns (A,B), by this I want to represent the interaction between A and B. I want to model the dependence of Anad B b... |
The r output I would get is just the summary of a fitted model. For example:
fitmodel = lm(formula = response ~ categorical + predictor)
summary(fitmodel)
I'm also given a $t_{0.25}$ value.
The categorical variable has 2 possible values ("yes" and "no"). So, from the output, how do I find (by hand) a 95% confidence i... |
I am running a model in which I want to explain my dependent variable with the racial/ethnic diversity in a person's residential area. Diversity is measured with 4 continuous variables. Each one of these variables gives me the percentage of the total population of a racial/ethnic group in the residential area. That mea... |
Lets say I have movie ratings from different users for multiple films. I can find the beta distribution that best fits all the ratings. I can also find the beta distribution that best fits the ratings for a particular movie. What I would like is to be able to say: "If I pull a rating of a movie out of a hat that is a 3... |
I have two random walks, which represent fishing mortality in season 1 and season 2 of year $t$ ($X_{t,\mathrm{summer}}$ and $X_{t,\mathrm{winter}}$). If I add up both series to obtain annual fishing mortality ($X_t$), what would be the expected variance?
I read that for independent time series, the total variance woul... |
I know this question is redundant and has been answered here but I still want to understand it from my point of view to make sure if my terms are correct.
My understanding of the difference between gradient descent (GD) and stochastic gradient descent (SGD) is:
In Gradient Descent (GD), we perform the forward pass us... |
I know I'm not understanding something, but I'm working with monthly data that needs a seasonal component to it.
I was just testing different models and noticed that (11,0,0)x(1,0,0,12) wasn't giving the same evaluation as (12,0,0). Why is that? Aren't they essentially including the same terms, and with the same data ... |
I often see studies where predictive models are made with exclusion criteria such as “excluded patients with length of stay greater than 30 days”.
The model is then fit on the cohort without these patients.
This seems odd to me because it is not known at prediction which patients will have a stay over 30 days and wh... |
Let's say $X$ and $Y$ are two random variables where $Y \sim N(0, \sigma) $ and independent from $X$. Is there a general way to express the entropy $H(X+Y)$ in terms $H(X)$?
$X$ can be any random variable.
|
In classic mediation model, process gave the following results:
x variable predicts y – path c
F(1,510)=21.38; p<.001, R2=.05;
b=.19, t(510)=4.62, p<.001
x variable predicts M – path a
F(1,510)=7.70, p<.05, R2=.02;
b=0.11, t(510)=2.77, p<.05
x and M together predicting y
F(2,509)=31.14, p<.001, R2=.13;
M var... |
I have two continuous variables that I wanted to model on 5 explanatory variables. When I did, using linear regression (and mixed-effects linear regression), none of the variables were statistically significant in both models according to LR test (or Wald test). Then I categorized both response variables into 4 categor... |
I am training a convnet on a binary classification problem using medical images. I;m doing a preliminary evaluation of various shallow nets to get a sense of what the best hyperparameters are likely to be. My dataset is small - about 2500 images in each of the 2 classes. I'm getting wild fluctuations in training accura... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.