instruction stringlengths 9 38.7k |
|---|
How does getting a smaller feature space result in combating high variance in a machine learning algorithm? What I currently understand is the following:
With fewer features the hypothesis can easier fit the data and therefore it helps against high bias (underfitting).
With more features the hypothesis can harder fit... |
I'm training a neural network on a number of datasets of different size with a fixed batch size and an exponential learning decay. Normally, I would evaluate model performance, save checkpoint and reduce learning rate at the end of epoch. But in the case with multiple datasets, is correct to do these steps after a fixe... |
When using Attention, for example with LSTM (but not necessarily), one can use the following methods to attend:
MLP: $ug(W^1v+W^2q)$
dot product: $v \cdot q$
biaffine transform: $v^TWq$
($v$ is the attended vector which is used for prediction, $q$ is the query vector determining the weighted sum, used in the encoded ... |
There's always a tradeoff between precision and recall. I'm dealing with a multi-class problem, where for some classes I have perfect precision but really low recall.
Since for my problem false positives are less of an issue than missing true positives, I want reduce precision in favor of increasing recall for some sp... |
My data set contains around 630,000 rows and the data set looks like this:
date site code latitude longitude rollingo3 rollingpm2.5
1 2015-01-01 17:00:00 Aberdeen ABD 57.2 -2.09 58.5 5.96
2 2015-01-01 18:00:00 Aberdeen ABD 57.... |
Let's say I have a sample $X$ from any distribution (large enough to have a good approximation of the cumulative density function $F(x)$).
I want to have an "explicit function" that estimates the accumulated density function (maybe a polynomial function).
I tried to use a polynomial regression model to estimate F (x). ... |
I'm faced with an interesting problem and need some help finding existing best techniques to solve it. I suspect that the answer will end up being preparing data to run through R. Right now, I don't have a specific R question, I'm hoping to get some advice on the algorithm that I need to use. After that, I'm sure to ha... |
need help for a class; please provide details
survey with multiple parts; 2 points in time; 10 questions for on period of time; same 10 questions for other period in time;
other question asks if they were in the same place for both periods of time (i.g., during school and winter break) 1 = yes 2 = no;
another questi... |
If I know the functional form of a distribution, is it better to fit the distribution to the data to find the mean, or is it better to just look at sample average.
I know sample average is the unbiased estimator of the mean, but I feel like fitting to a known distribution may reduce the effect of outliers. Is that true... |
Apparently the following statement is true:
If $X$ is an isotropic random vector, with finite support set $T \subset \mathbf{R}^n$, then if $\|X\|_{\mathrm{s.g.}} = O(1)$, then $|T| \geq e^{cn}$.
Note that $\|\cdot\|_{\mathrm{s.g.}}$ is the sub-gaussian norm of a random vector. It can be defined $\|X\|_{\mathrm{s.g.}... |
For example, given set of ten numbers:
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
Split into two equal-sized subsets. Multichoose calculates 252 configurations of subsets with 5 values (pick 5 from 10).
Only two of these 252 configurations have all five values in the chosen subset are greater or lesser than the remaining subset (o... |
I was wondering if there has been any know-how about the filter sizes in CNNs when using panorama images? Would it make sense to stretch the filters the same way as to the ratio of the height and the width of the image?
|
I implemented a DenseNet for class and wondered why it works well, when I noticed no one had posted on StackExchange specifically about DenseNet.
Why are DenseNets good?
|
I have been working on a Network-based clustering approach. I used "cluster_optimal" of 'igraph' package in R for clustering. The function works by modularity maximization algorithm. I have understood the concept of modularity (Newman, 2006). But I could not understand how modularity maximization works though I have r... |
Which data analysis technique I can apply if I have personality analysis data of some sample students and if I have their performance metrics such as their grade, participation, attendance etc? I assume I can apply correlation analysis but can I apply anova or linear regression?
|
Can you calculate confidence intervals for pseudo-$R^2$ in logistic regression that is reported in published literature? If so, how?
|
I have some count data of advanced stage juvenile snails in tanks that are sampled every 4 days for 4 sample points. I want to see how much the snail development stages change with a changing dosage of algae (3 tanks per dosage). So the number of advanced juvenile snails (a proportion of the total snails) is the respo... |
I'm analyzing a randomized controlled trial. At baseline time, the outcome variable of the control group (C) was slightly higher than that of the intervention group (I), but such difference wasn't significant.
At the end of the trial (3-month time), outcomes both groups had higher values than the baseline. Within-group... |
It appears that backpropagation is exclusively used to train neural network models. Why not use it to fit other models. For example - Taylor polynomials:
$$
f(x) = c_0+c_1(x-a)+c_2(x-a)^2...+c_n(x-a)^n
$$
We can represent it in a graph and take derivatives backwards the same way as everything is differentiable includi... |
I'm trying to model a dataset as a mixture of two Gaussian distributions in MATLAB and find the Bhattacharyya distance between the two. Using MATLAB's fitgmdist function I was able to model this mixture and produce this plot:
gmdist = fitgmdist(data, 2);
gmsigma = gmdist.Sigma;
gmmu = gmdist.mu;
gmwt = gmdist.Componen... |
I've estimated a Gaussian kernel density of a univariate variable with
density(), but after I would like to find out the CDF value and graph.
How can I do it?
|
Imagine that when we compare treatment A to treatment B there is an associated hazard ratio of 0.56 (95% CI: 0.36 to 0.87). Let's say that instead of this, I want the hazard ratio associated with comparing treatment B to treatment A. Do I simply invert the HR (1/0.56 = 1.79) and invert the CI limits (1/0.36 = 2.78, 1/0... |
I am a new beginner in stats. I have specifically diverted my attention towards this because, I wish to understand the concept of Deep Bayesian Learning, so I am starting with the basics. The question is:
The Bayes rule equation is given by
$P(X | Y)$ = $\cfrac{P(Y | X). P(X)}{P(Y)}$
But, I have noticed in some place... |
Suppose I have the following DLM:
$x_t = \Phi x_{t-1} + w_t$
$y_t = A x_t + v_t$
$x_0 \sim N(\mu_0,\Sigma_0)$
$w_t \sim N(0,Q)$
$v_t \sim N(0,R)$
Let $\Theta = \{\mu_0,\Sigma_0,\Phi,Q,A,R\}$. I can do Gibbs sampling for the joint distribution $P(x,\Theta|y)$ by sampling from the conditionals $P(x|\Theta,y)$ and $P(\The... |
I have a question regarding one part in section 4.5.2. Specifically conclusions about equation (4.148):
$$p(a)=\int \delta(a-\mathbf{w}^T\phi)q(\mathbf{w})\mathrm{d}\mathbf{w}.$$
I think context is not that important, the only relevant thing is that $a$ is projection of $w$ on $\phi$. So the puzzling part is this
We c... |
I am reading this tutorial http://math.arizona.edu/~jwatkins/f-transform.pdf which explains transformations of random variables.
It says that the PDF of a transformed random variable $Y = g(X)$ can be found easily when $g(\cdot)$ is an increasing or decreasing function and one to one.
However, is the important part her... |
How do we determine when to use a Logistic Regression or a SVM considering the dependent variable is categorical? What are the conditions we need to look at before deciding the either of the two?
|
We recently did an online survey with our customers. There are 2 particular questions, that all of them filled in, on which I want to do some statistical analysis. The problem is that the scale of the first question is a scale with 4 answers and the second question has 5 possible answers.
e.g.
Q1:
Very satisfied -
So... |
I am curently working on a Research Project in which I would need some help, logically as well as (maybe) syntax-based. Following case:
- I have 7 variables (x1 to x7) in my dataset (each continous) which add up to 100% all together, which means, every single variable represents a share size. (e.g. X as the share of m... |
Why does L2 regularization smooth the loss surface? went over my head.
|
To my knowledge, all white noise tests are to test whether a process is a white noise or not. Is there any test in time or frequency domain, that test for a white noise, whether its variance is equal to a certain value $\sigma^2$ or not? Given a white noise process $X_1,\cdots, X_N$, I want to test $H_0$:
$$H_0: \sigma... |
I am fitting a poisson GLM to model claim rates. Since I have 1.5m+ records, I have aggregated my data (to improve efficiency). My understanding is that using aggregated data with a poisson GLM will not effect the coefficient estimates. Indeed, if I fit a GLM with no regularization (and using the log of exposure as an ... |
Consider the equality $P(A \cup B) = P(A)+P(B)-P(A \cap B)$.
We can prove this in a number of ways (from the probability axioms, measure theoretically etc.)
However a simple Venn diagram gives an easy geometric explanation.
My question is, can a Venn diagram be used to establish a formal proof of a probability equation... |
I am trying to determine wether my classifier has obtained a statistically significant result. The problem: Classify a heartbeat into 2 classes either "normal" or abnormal"
Let's say I have the following Confusion Matrix Generated for model A
I found this post Comparing two classifier accuracy results for statistical ... |
I'm fitting poisson GLMM, and I'm quite confused about the need or not to log10 transform my main predictor.
Raw values of this main predictor was very spread, from 2e+03 to 6e+06, that's why I thought about log10 transformation. Linearity with response seem to me equal.
For fitting GLMM I had to scale the predictors ... |
I have been struggling to create a distance matrix for some Big Data (800,000x20). I have tried R (dist function), Matlab (pdist function), and cloud computing (to increase RAM).
Ultimately, the limitation that I come up against is the maximum array size that each program can use.
The dist function in R returns the fol... |
I have obtained these two plots using R, I have to fit a model and the trouble is choosing between an ARMA(0,0), and an AR3. The main issue is the autocorrelation at lag 3, is it enough significant to be considered in the analysis? The BIC of the two models is very similar. Moreover Residuals are good for both models, ... |
I am interested in learning how to conduct simulation experiments in R, and i have been trying to find a book or a course to do that. I have found either very long textbooks that have one or two chapters on simulation experiments or presentations on very specific topics that dont provide enough explanation and are not ... |
Using the forecast package, I am constructing a dynamic regression / ARIMA model to use X to predict Y (data below). Here is my model:
fit <-auto.arima(y,xreg=x,seasonal=c(0,1,1)[4])
summary(fit)
Question - I'm not sure I am using the seasonal portion of code correctly:
seasonal=c(0,1,1)[4]
I see no difference in th... |
I've got a problem, which I feel is related to this post. However I cannot really grasp the similarity and adopt it.
I am trying to deploy a model for object detection from video. The model outputs (from each frame) a probability of an object belonging to $n$ classes. For the final prediction I use the class with maxim... |
I have previously worked with GAMs, where I was trying to do regression on a log-transformed variable. The log-transformation introduced a negative bias in the average of the predicted variable, and I corrected for this by multiplying each of the predictions $\exp(\hat y)$ by the factor
$$\langle \exp( \delta \hat y) ... |
I would like to obtain tau2 estimation using REML by making use of PROC MIXED procedure in SAS to compare the estimation result obtained from rma function in R.
I have used the following SAS code;
proc mixed data= dat method=reml;
class pubid;
weight Weight;
model Effectsize= / cl solution;
random intercept / subje... |
I have a rating (from 1 to 5) under two conditions (let’s call them "blue" and "red"). I tested whether the distribution of the ratings is significantly different using a chi squared test for goodness of fit. The test results were null - meaning I could not say that the rating distribution of the blue and red groups is... |
I am comparing two mice groups (1 experimental and 1 control) but I obtain data from 4 different organs of these mice. When I order my data (using GraphPad Prism) I use a grouped table and graph to visualize it. After that I hit the Analyze button and use the default analysis Two-way anova to look for significance betw... |
I'm employing Google Correlate time series to evaluate the causal impact of an intervention on a variable of interest y. I made sure that the Google series are highly correlated with y during the pre-treatment period, and that their relationship with y is merely spurious. Because of this, the probability of these serie... |
Consider an ordered logistic (i.e., ordinal) regression, where a binary predictor variable increases a response variable that measured on a 4-point scale:
library(ordinal)
set.seed(1839)
n <- 500
x <- rbinom(n, 1, .5)
y <- cut(0.4 * x + rnorm(n), 5)
exp(coef(clm(y ~ x))[["x"]])
where the responses are "not at all", "s... |
Problem's setting
Assume having results of an A/B test.
You let you users experience two variants of your website and you counted how many converted:
| | Converted | Total visits |
|--------|-----------|--------------|
|Control | $c_n$ | $c_t$ |
|Variant | $v_n$ | $v_t$ |
We have that the ... |
I am following the 1975 paper by Cox entitled Partial Likelihood.
Consider a vector $y$ of observations represented by a random variable $Y$ having density $f_Y(y;\theta)$ and suppose that $Y$ is transformed into the sequence $(X_1,S_1,X_2, S_2 \dots,X_m, S_m)$ then the full likelihood of this sequence is
$$\prod_{j=1... |
I've learned ML and have been learning DL from Andrew Ng's coursera courses, and every time he talks about a linear classifier, the weights are just a 1-D vector.
Even during the assignments, when we roll an image into a 1-D vector (pixels * 3), the weights would still be a 1-D vector.
I now have started O'Reilly's "... |
I’m training some supervised machine learning algorithm to perform the prediction of a continuous variable.
I’m currently applying a nested cross-validation protocol (inner: LOOCV; outer: LOOCV; sample). It is a pilot and I have only 70 cases at the moment, while a test may come later if the pilot goes well.
I’m loo... |
I have run two multiple regressions in R, one with average abundance as dependent variable, and one with log avg abundance as dependent variable. With the given plots, can we say one of the two regression meets assumptions better than the other? Log of Avg Abundance is on the right. Assumptions of concern include linea... |
I have undertaken a reciprocal turf transplant in a blocked experimental design, where turfs have been moved in an out of high use areas with corresponding controls. I have measured the change in nutrient availability over time in response to the treatment. Because I am interested in the specific responses (i.e. increa... |
I'm working on the following problem:
When applying for a secretarial position, $n$ candidates line up in random order for interviews, where the manager after each interview has to decide to take or decline that candidate. His assessment is qualitative in the sense that at interview $k\geq 2$, he observes only $Y_{k,n... |
I have three data sets that are connected through one column( all of them have a similar column called "ID"). However the data sets are large and when I want to merge them together in R, it return a memory error. therefore, I was wondering whether I can do cluster analysis separately on each data sets and then compare ... |
From a news report:
Using population-based, longitudinal cohort study data from Sweden, researchers examined the relationship of infection during childhood with IQ and adult nonaffective psychosis. They also assessed whether shared familial confounding explains the infection-nonaffective psychosis and IQ-nonaffective... |
It is well-known that Gaussian copula has parameterizations of a correlation matrix.
Let us say there are $n$ continous marginal random variables equipped in a Gaussian copula with an identity matrix. Dose this copula structure implies that these random variables are independent?
|
From a news report:
Khandaker and colleagues found that participants who were exposed to infections, especially in early childhood, were more likely to have lower IQ (adjusted mean difference for infection at birth to age 1 year = –1.61; 95% CI, –1.74 to –1.47) and increased risk for nonaffective psychosis in adulthoo... |
I'm trying to identify communities or clusters in a network by optimizing the modularity function. The network is a fully connected network, with undirected edges that have weights based on a pairwise matrix. The problem is that the matrix is a distance matrix where 0 indicates two points are identical and 1 indicates ... |
I am new to this forum and was hoping I could get some help.
I have a piece of time-series data collated over the space of 3 years, and this has been fit to an AR model (I believe an 'ARIMA' model is available also). Within this period of time, there have been policy changes, which, in theory, should affect the line. H... |
Referring to Pesaran (2015) the NW covariance matrix is computed according to the following formula:
$$\hat V(\hat\beta)=\frac{1}{T}Q_T^{-1}\hat S_TQ_T^{-1}$$
(Skipping the definition of Q)
$$\hat S_T=\hat\Omega_0+\sum_{j=1}^mw(j,m)(\hat\Omega_j+\hat\Omega_j').$$
(Skipping the definition of $\hat\Omega_j$) Where the B... |
For ridge I now that I have to standardize the the predictors before applying ridge regression.
I want to standardize them like in the glmnet function. And I don't know wich formula is used for standardization.
Should I use this: formula to standardize the dependent(y) variable and the independent(x) variable? Or t... |
I have a bet with a co-worker that out of 50 ping pong games (first to win 21 points, win by 2), I will win all 50. So far we've played 15 games and on average I win 58% of the points, plus I've won all the games so far. So we're wondering if I have a 58% chance of winning a point and he has a 42% chance of winning a p... |
I‘m analysing shopping carts of a webshop and i‘m interested, if there are products, that are often used (more than random) to get the amount of an order over a specific cut-off to be free of parcel fees.
I thought about:
Filtering out all orders that lie under the cutoff amount. Then take the other orders and look, i... |
Probably this question has no sense but I am really confused and I need help.
I have a panel data model.
I ran a fixed effect negative binomial regression for a variable which indicates the number of years a government stays in office.
How may I compute the "amount" of the influence of an independent dummy variable ov... |
Forgive my lack of statistical terms, but what I'm looking at is trying to determine is on a specific day and a specific hour, a certain house has a change in their electricity usage.
The dataset has columns: house, datetime, and electricity usage (kwH) and spans 1 year. What I'm trying to figure out is if a house is t... |
I want to test whether the coefficients of two independent variables ($x_1, x_2$) are different in two groups.
I know I can use a dummy variable $d$ which equals $1$ for group $1$ and equals $0$ for group $2$, and then get the regression model $y=β_0+β_1d+β_2x+β_3xd$ to see whether $β_3$ significantly differs from $0$.... |
I'm reading up some material on autoencoders . As far I've understood I can use them as a mechanism for dimensionality reduction. We can do dimensionality reduction for non-linear data as well.
If this is the case then if I build an autoencoder with just one node between Encoder and decoder layers possibly very high d... |
In R, there is an ROC package called ROCR. In their default simple example, they have:
library(ROCR)
data(ROCR.simple)
pred <- prediction( ROCR.simple$predictions, ROCR.simple$labels)
pred@cutoffs
[[1]]
[1] Inf 0.991096434 0.984667270 0.984599159 0.983494405 0.970641299
[7] 0.959417835 0.945548941 0.943432... |
I am doing a chi square test for categorical variables in a very large sample size. Is there any alternative to the Chi-Square Test (besides the cramer'S V test for associations )?
Thanks,
|
Let X($\omega$)=$min${$1.5$,$max${$2\omega$,$1$}}
Given that $\omega \subset[0,1]$
Find the values "a" such that $P(X=a)>0$ and find these probabilities
Find $F_{X}$. Is it continuous?
My Solution
$X_1(\omega)=$max$\{2\omega,1\}=\{2\omega,if, 1\leqq2\omega$
that is $ \omega\ge\frac{1}{2}$ ; and
$1$ if $1>2\ome... |
Look at the following sample code to understand the problem. I am facing this problem in a real dataset but to represent the issue I am creating a random dataframe below.
random_df <- data.frame(replicate(10,sample(0:1,100000,rep=TRUE)))
pred <- sample(0:1,100000,prob=c(0.99,0.01),rep=T)
random_df[] <- lapply(random_df... |
I am reading Statistical Rethinking (Section 4.3).
When talking about the i.i.d. assumption used to build a linear regression model - without knowing if distribution values are correlated, the author says:
A moment's reflection tells us that this is hardly ever true, in a physical sense. Whether measuring the same dis... |
I have multiple sets of trends which show how the concentration of 2 quantities vary with respect to each other over number of observations. Each set is independent from each other and the duration between 2 observation points is not fixed. The x axis in the picture is the sequence of observation (and not any conventio... |
I am totally new here :-)
I have a following distribution, where a first column coresponds to the items' attribute count (specifically: number of occurences of a certain motif in a gene's regulatory region) and the second to the number of items (here: number of genes) with that attribute count.
0 5994
1 7907
2 54... |
I am using the RMS package and attempted to obtain the adjusted odds ratio for a logistic regression interaction. There does not seem to be a straightforward way to do this. I have decided to obtain the coeffient associated with the interaction by using the contrast.rms argument. I have then used the function exp on th... |
In many textbooks, when a Bayesian model is presented, such as a classic Normal-Normal model, there is some sort of brief mention that the trials must be exchangeable. I am wondering why this is necessary and what goes wrong if exchangeability doesn't hold. Does anyone have any concise answers?
|
I am trying to generate random vectors with the same covariance, mean and sd as a set I have. I am using R's mvrnorm with Empirical = F because the underlying distribution is in general not normal.
However when running this many times I get the impression that specific elements of the returned vectors are too similar t... |
My data set consists of a factor that is very sparse, and thus I am modeling it as a random effect intercept in a mixed effect models; there are too many levels to model it as a fixed effect. I am interested in determining "significant" contrasts between specific levels of this random intercept.
As an example, consider... |
I'm trying to understand how multiple linear regression with only categorical predictors works. In lectures we were told that, given a data set $(c_1, y_1), (c_2, y_2), ..., (c_n, y_n)$, $c_i \in \{1, 2, ..., K\}$. We can define a model, $j = 1, 2, ..., K$ such that:
$x_{i, j} = 1\ \ if\ \ c_i = j$
$x_{i, j} = 0\ \ oth... |
I have the following regression:
> set.seed(20); y = rnorm(20); x = y + rnorm(20, 0, 0.2)
> lm = lm(y~x)
I ran:
> predict.lm(lm, data.frame(x=5), interval='prediction')
fit lwr upr
1 4.586524 3.950506 5.222541
So obviously the prediction for y when x=5 is 4.5865.
Now I want to set a null to (y=5 when... |
As part of building a neural network (NN) to choose continuous-valued actions in an agent-based simulation, I wanted to first see how easy it would be to train a NN that could produce values drawn from distributions specified using the 4 standardized moments: mean, variance, skewness, and kurtosis.
The inputs to my NN ... |
I have a question about simple Bayesian reasoning.
Suppose there are N datasets, two mutually exclusive models, priors for models can be chosen as 0.5 to 0.5.
The datasets have different characteristics and can not be mixed. Among two models, only one is true for all of the datasets.
So, Bayesian updating: I test one d... |
if for example, we define the significant level at P<0.05 and the F calculated was equal to F tabulated. now the question is does we consider it significant or not?
I did not find a refrence answer
|
I recently had to build a model for flight delay predictions. The data has multiple columns of categorical variables and some continuous variables.
For example: Airline, Arriving airport, Temperature, etc.
My natural instinct of encoding the categorical variables was to one-hot encode them, but resulted >2000 distinct ... |
In this paper
https://dl.acm.org/citation.cfm?id=2002654
specifically section 2.4.
I understood that Review rating is modelled as random variable with guassian distribution with mean as wt * or.
I am having trouble understanding the next page i.e starting part of page 1499. Specifically
this part
"We further incorp... |
Is there an equation that shows when more data results in a greater increase in the likelihood of a Type II error than a decrease in the likelihood of a Type I error
|
Consider $I:X\times Y\to R$ a function of $x\in X$ and $y\in Y$. Assuming $x,y$ are statistically independent, we seek to estimate $E_{X,Y}[I(x,y)]$ using $N$ sampled pairs $(x,y)$.
Are the two following strategies equivalent?
(1) Sample $N$ pairs $(x_i,y_i)$ and estimate $\hat{I}_N=\frac{1}{N}\sum_i I(x_i,y_i)$
(2) C... |
Problem
I have a linear regression problem of the form z ~ x + y + b where z, y and x are continuous variables and b is categorical with two levels A and B. The information if a sample is b=A or b=B got lost for all samples. However I've always got pairs of data from which I know that one of them is A, the other one B ... |
I am very inexperienced in SEM.
I am testing a moderated mediation model with two serial mediators (M1 and M2) of the X-Y relationship, and also one moderator (W) of the X-M1 relationship (a pathway). The model fits very well.
I now want to add two control variables to the model
I am not sure how to do this within this... |
Typically in Gibbs sampling we want to sample from a joint distribution $p(X_1, X_2, ..., X_N)$, but because the joint is hard to sample from directly, we instead achieve this by iteratively sampling each variable $X_i$ from its conditional distribution $p(X_i|\{X_{-i}\})$. The resulting samples then allow us to approx... |
if I have a data-set of places where accidents happened in certain city , is identifing danger zones in that city considered as clustering problem ?
if for example I use KMeans , I would have to pass the n_clusters which I don't really know. I can't find the way to approach this.
|
I am evaluating the impact of a medical intervention on an adverse outcome using administrative data collected over several years. The treatment was delivered individually. Therefore, each patient has a unique study period. There are 48 monthly observations (24 pre- and 24 post-intervention) for each patient. I have da... |
I've read a number of the other discussions I can find on here about lower order items and interaction terms in regression but either my statistical incompetence is preventing from seeing it or I could not find a clear answer to the specific question I have. Any help would be very much appreciated!
I have a regression ... |
I am trying to learn a very simple sequence using an RNN (implemented in Keras)
The input sequence is randomly generated integers between 0 to 100:
x=np.random.randint(0,100, size=2000)
while the expected output value for time t is the (t-2)th input term i.e:
yt=xt-2
such that an example dataset looks like this:
+---... |
I have a score and a dichotomous criterion for n observations. Using a ROC-Analysis, I found some optimal cut-off, say c. Now, literature (e.g., author of scale with which the score was determined) says, optimal cut-off should be c+2. Now, I want to test, whether sensitivity, specifity, etc. differ significantly if usi... |
I'm doing some analyses in which I have 1 continuous independent variable (IV) and 1 dichotomous independent variable (IV2) that's a demographic covariate. I'm now realizing that they are extremely correlated (~ .9). See image below.
Now what I'm wondering is there anything I can do (maybe some sort of centering strat... |
At the moment I'm tryin to do research about a classification problem in the area of product data management. The aim is to provide some guidance concerning the machine learning techniques, which can be used to solve the classification problem. In the following I will show you my procedure to do so. I would really appr... |
Assume there are given some unknown distributions.
I know when the data is normally distributed one can make use of the standard deviation. But what it isn't normally distributed?
Root mean square? Or is there something different or even "better"?
PS: I aim at comparisons of density curves and/or histograms. Depends on... |
The Bayesian Information Criterion (BIC) is proportional to the log of the maximised likelihood. The likelihood is a density with units given by the inverse units of the parameters.
We are free to set the units of the parameters. For example in a linear regression using millilitres (ml) of rainfall to predict height of... |
I am trying to use a statistic that shows how erratic one of my parameters is acting. We can see this graphically:
Originally I attempted to find the sum of the absolute difference between each point so:
R: df[, sum(abs(diff(param))), file]
However this didn't really stand out how I imagined. I guess this makes se... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.