instruction stringlengths 9 38.7k |
|---|
My dependent variable is a percent range (intervals of 4):
None
1-5%
6-10%
11-15%
16-20%
21-25%
26-30%
31-35%.....and so on until 100%
Is this an ordinal variable or an interval variable? What would be the best regression analysis to run for this type of variable?
Thank you
|
how come Matlab give me the result corr(u,v)=-1
u=[1 0]' and v=[0 1]' (i.e., two orthogonal column vectors, basis of the Euclidean plane ...)
Suddenly this makes no sense to me ... their scalar product = 0 ... they should be perfectly UNcorrelated?
i know it works out to -1 with the correlation formula $dot((x-mean(x)... |
In the Wikipedia article about test statistic it is written
A test statistic is a statistic used in statistical hypothesis testing. A hypothesis test is typically specified in terms of a test statistic, considered as a numerical summary of a data-set that reduces the data to one value that can be used to perform the h... |
I hope you will help with this one. Below you see my Precision-Recall curves after performing 10-fold Stratified Cross Validation on my dataset.
Note that my dataset is imbalanced that's why I'm checking the performance with this curve.
Given that I am interested in an estimator with high precision, which one should I... |
I currently have a vector containing values which I wish to consider the distribution of. I am aware that when using a qqnorm() plot, it is possible to see that data is normally distributed if it closely approximates a straight line.
However, the qqnorm() plot for my data looks something like this:
My understanding of... |
I have 3-dimensional datapoints I want to cluster. The idea is to do this in an unsupervised fashion with neural networks for a research project. To see how the system performs I'm trying with datasets whose original classes I already know.
At first, I train a Kohonen network (SOM) to find potential cluster centroids. ... |
I am doing survival analysis and writing codes to compute MLE for several distributions. Yet, I get stuck while writing for Pareto distribution with right censored observation.
For complete/uncensored data, it can be dealt with by using the following coding provided by Macro in this post: How do I fit a set of data to ... |
I have a sample of 50,000 images, some of which are shown below:
$\qquad$
$\qquad$ $\qquad$ $\qquad$
Associated to these images are labels for the digit with the largest pixel size. My goal is to build a machine learning model to predict the largest digit in an image by pixel size.
To that end, I used transfer le... |
The Megasoft company gives each of its employees the title of programmer (P) or project manager (M). In any given year 70 % of programmers remain in that position 20 % are promoted to project manager and 10 % are fired (state X). 95 % of project managers remain in that position while 5 % are fired. How long on the ave... |
i have a panel data set where the N dimension is countries(127 countries) and T dimension is year(2010 to 2015). I use a fixed effects to estimate a model of the form:
Y= b1X1+b2X2+b3X3+b4X4+u.
I estimate the model and i find that the coefficient b4 is negative. All variables are continuous.
I am interested now to chec... |
I am aware that qualitative researchers use purposive sampling. However...will you please explain why a quantitative researcher might not use purposive sampling?
|
Suppose we have a set of $n > 1$ data points in $\mathbb{R}^2$ labeled either positive or negative. This set is linearly separable. Suppose that I'm searching for a the largest margin hyperplane of this set by using a SVM classifier.
It is possible to find such a data set that would result in having only one support v... |
There is a system which follows the equation:
X(n+1) = X(n) - 1 + A(n), where A(n) is a random variable taking values 0,1,2 with probabilities po,p1 and p2, respectively. Now, X(n) = n and X(n)>=1 are two provided conditions.
I need to find the relation between po,p1 and p2 which ensures stability of the Markov Chain.
... |
The Wikipedia article on cross validation states
[...] cross-validation can be misused [...] By allowing some of the
training data to also be included in the test set – this can happen
due to "twinning" in the data set, whereby some exactly identical or
nearly identical samples are present in the data set. Note ... |
There are 100 slips of paper in a hat, each of which has one of the numbers 1,2,...,100, written on it, with no number appearing more than once. Five of the slips are drawn, one at a time. By sampling with replacement:
What is the probability that the number 100 is drawn at least once?
My line of reasons goes: the dra... |
My data are proprietary. So, I am altering the data context a bit because I have signed an NDA agreement on the original dataset. This made up context, which mimicks my actual dataset, is about runners i.e., athletes. In my data situation, each athlete can either:
(1) run indoors on a treadmill - I call this "DIST_INDO... |
I'm writing a code for k-fold cross validation for lasso. But I am stuck at understanding it clearly.
The number of folds that I'm using is 3 (k=3)
I have a matrix X[20x15], I split it into two sets the training and the testing, X_train[13x15] and X_test[7x15] then I generated some data Y_train[13x1] and Y_test[7x1]
T... |
I'm trying to write a program that calculates the PMF of a Poisson Binomial Distribution. I know there are libraries that have all sort of probability distribution functions, but I'm doing this just for the learning.
I've experience programming but the part I need help with is the math symbols in this equation:
(wikip... |
I have a dataset that looks like this:
> scores
date scores price
1 30/11/2017 1 1
2 01/12/2017 1 0
3 02/12/2017 0 1
4 03/12/2017 1 0
5 04/12/2017 1 1
6 05/12/2017 1 0
7 06/12/2017 1 0
8 07/12/2017 1 1
I would like to calculate th... |
Problem from Bayesian Data Analysis (Bayesian interpretation of non-Bayesian estimates): Consider the following estimation procedure, which is based on classical hypothesis testing. A matched pairs experiment is done, and the differences $y_1, ... , y_n$ are recorded and modeled as independent draws
from $\text{N}(\th... |
This exercise 4.14 from the text Regression Analysis by Example 5E by Chatterjee and Hadi. The data set can be obtained using the following code in R:
data = fread(paste0("http://www1.aucegypt.edu/faculty/hadi/RABE5/Data5/", "P128.txt"))
The part that is causing confusion for me is bolded.
Consider fitting the model ... |
Apologies if this is a really dumb question, at the moment I'm at a loss. I need help figuring out which statistical test to use for a case that's similar to the following scenario:
Say my hypothesis is that the distribution of favorite color is different on the West Coast versus East Coast.
I went out to the West Coa... |
I am going to make a distinction between predictive modeling (where prediction accuracy is important) vs. inference modeling (where understanding relationships and meaning of predictors is important).
For predictive modeling, it is good practice to have a held out test set, and to tune your hyper-parameters on the cro... |
For developing models on better understanding of visual image advertisements on an emotion perspective, my current dataset is having multi-labelled adjectives. Using an emotion dictionary which contains arousal valence scores for words, I want to map those scores for getting ground truth arousal valence scores for each... |
The question is simple but I am having a trouble to figure it out.
If I have a monthly data of 5 years how could calculate the seasonality for each month not quarter.
I found this example online and worked out the Trend using excel which is fine but I am still not successful with seasonality.
|
In the book Statistical inference by Casella and Berger, given that the pdf of X is $f_X(x) = \frac{2}{9}(x+1)$ for $-1 \le x \le 2$, we want to find the pdf of $Y=X^2$. But it says we are not able to directly use the theorem 2.1.8 which is
Theorem 2.1.8 Let $X$ have pdf $f_X(x)$ and let $Y=g(X)$. Suppose there
ex... |
Let's say I have the values of a variable x for a time period of 15 years. What is a good statistical model to find the values of this variable for the next 10 years?
How good is excel's forecast function in this regard? Would a simple linear regression with the years (Excel) work if we assume the relationship is linea... |
I want to know if the population mean equals some value $m$. For this puporse, I am using a one-sample t-test.
The null-hypothesis of the one-sample t-test is that the difference between population mean $\mu$ and given value $m$ is different using the sample mean $\overline{x}$.
Doing the t-test onces using a random sa... |
Why is KL divergence non-negative?
From the perspective of information theory, I have such an intuitive understanding:
Say there are two ensembles $A$ and $B$ which are composed of the same set of elements labeled by $x$. $p(x)$ and $q(x)$ are different probability distributions over ensemble $A$ and $B$ respectively. ... |
I'm using generalized linear models and generalized nonlinear models in a modeling project, so I refer to the final predictor simply as the predictor. But I find that this is confusing and unclear, as you can also refer to the predictor variables as predictors. Is there another way to refer to the final predictor, or a... |
I'm studying different tests for uniform random number generators. I've read about the diehard tests and TestU01. These tests test different properties of a uniform random number generator. The birthday test for instance, tests the uniformity of a random number generator, while the permutation test checks if values are... |
I have read a lot of questions and answers but I am still confused for my case.
My dependent variable (employment growth) is measured :
$$ \frac{((number\ of\ employees \ in \ year\ t) - (number \ of \ employees \ in \ year \ t-1))}{[((number \ of \ employees \ in \ year \ t) + (number \ of \ employees \ in \ year \... |
I am currently trying to undertstand the concept of Value at Risk, which attempts to calculate the a value such that the potential loss on a portfolio is bounded by a number with 99% probability.
The variable of interest is $$\triangle{y}$$ which represents the change in the interest rate. This variable has mean 0, an... |
It is a marketing project in which I need to compare the effectiveness of six different marketing tools in terms of sales. the tools are like "No. of times a salesman personally visit to the customer", "How many times the discount is given" etc. The problem is to identify which one is the effective measure in terms of ... |
As is known to all, stochastic gradient descent is a popular optimizer in machine learning. There have been many variants of SGD. However, it has come to my attention that no one talks about the conjugate version of SGD.(i.e. incorporate 'conjugate' ideas with stochastic settings)
In general, it's impossible to maintai... |
Consider the stochastic integral
$$
2 \int_0^1 W_t \hspace{2mm} dW_t
$$
Using r, this may be evaluated using one of the following summations
$$
S_1 = 2 \sum_{j=0}^{n-1} \left[ W_\frac{j}{n} \left( W_\frac{j+1}{n} - W_\frac{j}{n} \right) \right] \\
S_2 = 2 \sum_{j=0}^{n-1} \left[ W_\frac{j+1}{n} \left( W_\frac{j+1}{n} ... |
I am currently reading a text book that recommends assessing how much influence any individual subject may have on a fitted cox regression model. In particular it recommends using displacement of log-likelihood after removing subject i as a measure of influence. That is to say
$$
LD_i = 2 ( L(\hat \beta) - L( \hat \bet... |
I am working on time series forecasting of monthly averaged rainfall data (from a rainfall subdivision in India) using ARIMA methodology in R. But, in order to improve the forecast result, I want to include the (time series) data from El Niño Sea Surface Temperature (SST) data as an exogenous input in ARIMA model. Curr... |
My aim is to assess whether I can apply a logistic regression that was fitted on a sample A (where I have explanatory variables and the outcomes) to a different sample B where I don't know the outcomes yet.
The measure later when I have outcomes would be discriminatory power.
What statistical approaches can I use here?... |
From what I understand about embeddings in neural networks, the upper layers (fully-connected) from convolutional neural networks can serve as an image encoding (vector representation of an image), and word2vec where the weights of a simple shallow neural net can provide a rich encoding of a word.
However, these are m... |
Could PCA explained variance be compared with K-means clustering explained variance defined as Between SS/Total SS?
|
The question I’d like to ask is what is the correlation of regression and PCA.
From my understanding the correlations of a factor and its constituent variables is a form of linear regression – multiplying the x-values with estimated coefficients* produces the factor’s values**
are they called factor loadings?
are they... |
I don't know if I understood K-fold CV correctly. Here I will explain briefly what I am trying to do.
I have a matrix X which I split into 3 folds, 2 training $X_1$, $X_2$ and one testing $X_3$:
Step 1
I concatenate $X_1$ and $X_2$ so I have $X_{1,2}$, then I generate a $Y_{1,2}$. I compute the $\hat{\beta_{1,2}}$ ... |
I have 2 observers and 7 rabbit behaviours.
I've got to determine, per behaviour, against observer A and B if there are any significant differences in order to know whether watching pre-recorded rabbit footage is a reliable way of observing rabbit behaviour.
I've done the paired t-tests but I don't know how to present... |
I want to probabilistically infer the binary state of nearby pixels from some samples. Example:
? ? ? ? ?
? ? 1 ? ?
0 ? ? 1 ?
? ? ? 1 ?
? ? ? ? ?
I have a few examples to measure the spatial autocorrelation in this type of data; the spatial structure of new images should be similar (it represents lakes and rivers).
Ho... |
I have datasets for a sales for 3 quarters of a year: quarter 1, 2 and 3. I'm trying to train a model to predict total quantity that will be sold.
I created a model that uses Q1 and Q2 data as training data to predict Q3 and used K-fold cross-validation.
Interestingly, if I use only Q1 data, it alone is a better predi... |
I have a data set with hourly values over two years. The first year has 366 days the second has 365 days. There is a clear monthly pattern of the data, as the values are higher in the winter as in the summer. There is a clear weekly pattern, as the values are higher during the week than at weekends. And there is a clea... |
I'm faced with the following statistics problem that I thought a Baysian hierarchical model would give useful results, but I'm not sure how to apply it. A summarised description:
I have daily sales numbers of a range of products (let's call them product A, product B, etc) in a range of shops at different locations (sho... |
I have used the fitdist function from fitdistrplus package to fit my data to a Gamma distribution and the output is a fitdist list object. How could I then use this list to apply a linear model to my data? Obviously I need them in a column fashion, but functions like as.data.frame() are of no help (impossible to coerce... |
What does it mean when statisticians talk about having more predictors than observations in a regression model? How could that even be possible? Why is it a problem in regression? Apologies, I am new to quant analysis and stats so not quite sure why this is the case? I would appreciate the simplest possible explanation... |
what is the correct way to study the variability of a data set when all the observations are distributed like a bimodal distribution?
For instance, here I identified the two modes as central index. Now I need a dispersion index, but I cannot find an index that can correctly explain this variability.
Does it have sense ... |
I am conducting a one-sided, independent two-sample t-test for a gender study and I can guesstimate my effect size from previous studies. I want 95% significance, 80% power. I am looking to calculate appropriate sample size and realise I need the standard deviation to do this.
Is there any way of approximating the stan... |
Newbie to ML, i am having a hard time understanding what exactly is a hypothesis set.
From what i understand:
In Supervised Learning, we will be given Input, Output. We need to find a Hypothesis function which will be close to the Target function.
Now, to get from Example input(& output) to our Hypothesis function, we ... |
When calculating a panel data regression with multiple fixed effects using the felm() (of the lfe package), no constant / intercept is generated in the summary results.
Why would there be no constant generated?
When using Stata (xtreg, fe), for example, an intercept is generated by default. My understanding is that the... |
According to IsolationForest papers (refs are given in documentation)
the score produced by Isolation Forest should be between 0 and 1.
The implementation in scikit-learn negates the scores (so high score is more on inlier) and also seems to shift it by some amount. I've tried to figure out how to reverse it but was n... |
How do I find the effect of a treatment on a group with continuous traits?
Basically, I have a treatment that is given to a group of children who watch differing hours/kinds of TV programming. A child may watch $V$ hours of violent tv programming and $P$ hours of peaceful programming. I want to find out how the treatme... |
As you can see in the picture, I have to determine what the unstandardized coefficients (B) are, but I don't know how and which formula I have to use.
I thought about using the standardized coefficients to calculate the unstandardized ones.
Can someone help me ?
|
The answer to this question has probably been answered multiple times but I'm lacking the right keywords to find the answer.
I've tested on 24 time series Granger-causality from one series to the other (23 VARs, after checking stationarity and by using AIC minimization). I reject the null hypothesis of no Granger-causa... |
The context: I am doing a confirmatory factor analysis (CFA) in a longitudinal setting (100+ individuals, 4 time points). The individuals filled out a questionnaire at 4 time points (some exceptions as there are missing data). The questionnaire items are used to measure a Latent Variable (LV), e.g. behaviour / intellig... |
Suppose I have heteroscedastic data in which error terms increase for larger data points.
Assuming that either of these appear to fit the data well, which is the correct model to use, and why?
$Y = \beta X + \epsilon X$
or
$Y = \beta X + \epsilon Y$
where in both cases $\epsilon$ comes from $\mathcal{N}(\mu=1,\sigma)$... |
Experiment design: there are multiple ways to group factor levels. How do you "decide" the number of factors and levels in your experiment, i.e. whether a factor level is a level or a separate factor?
It appears that thinking in treatments (factor level combinations) removes that ambiguity.
|
I have been reading about linear regression a lot on internet. And people everywhere use a model: y = w*x+b and I have huge difficulties to understand why? As well I think they are overthinking with loss function. If you check the code bellow, my prediction model doesn't have constant, still it's working just fine.
imp... |
What's the probability to draw a single ace from a 52-card deck when you have two turns?
|
is there any good software package that contains the implementation of BN with mixed continuous and discrete nodes ?
can not find one. I do not know why it is.
I would love to integrate it into KINME
|
I have been thinking recently if we assume that there is a finite population and one was taking some sort of survey. Something where it was a yes or no question which for these purposes, I am going to assign a 0 and 1. So, in this case, we have a binary system of possible responses. There are a large number of other ca... |
I'm trying to fit a set of data to a variety of Poisson-based models, and have hit a stumbling block when trying to fit a piecewise-stationary Poisson process. What I mean by this is a Poisson process that has intensity $\lambda_1$ for time interval $T_1$, then intensity $\lambda_2$ for the time interval $T_2 = T - T_1... |
If I understand correctly, sampling distributions of means or of proportions can be assumed to be normally distributed if certain conditions are met. However, if I also understand basic hypothesis testing correctly, a one proportion z test allows one to posit a one sided alternative hypothesis, e.g.:
$H_0: p \le 0.5$
... |
I applied PCA on the dataset, but I am confused
what should I use to build the model, the components in scores or in the loadings?
@ usεr11852
> str(pc)
List of 7
$ sdev : Named num [1:32] 3.12 2.87 1.83 1.5 1.24 ...
..- attr(*, "names")= chr [1:32] "Comp.1" "Comp.2" "Comp.3" "Comp.4" ...
$ load... |
What are good tests to check if the data is generated by multivariate jointly gaussian distribution.
I know $\chi^2$ test is commonly used as a goodness of fit metric but I did not understand how to use it for multidimensional random vector case.
Most of the examples I saw were for univariate cases.
An example would he... |
The example below is taken from the lectures in deeplearning.ai shows that the result is the sum of the element-by-element product (or "element-wise multiplication". The red numbers represent the weights in the filter:
$(1*1)+(1*0)+(1*1)+(0*0)+(1*1)+(1*0)+(0*1)+(0*0)+(1*1)
= 1+0+1+0+1+0+0+0+1
= 4 $
HOWEVER, most r... |
I am trying to see if the average proportion among different groups is same or there is atleast one group where the average proportion is different.
So I thought about using ANOVA but when I computed the standard deviations of different proportions among the different groups, they are very different. Hence I am stuck a... |
Suppose I have two standardized (i.e., z-scored) predictors Age at Marriage and Rate of Marriage, and a dependent variable Divorce and I fit a linear regression model to predict Divorce from the two predictors.
Predictor residual plot
First, we predict Age at Marriage (now as dep. variable) from Rate of Marriage, obt... |
I just don't understand why use matrix transpose, instead of matrix inverse, to calculate delta of weight in gradient descent, like described in http://cs231n.github.io/optimization-2/#mat.
# forward pass
W = np.random.randn(5, 10)
X = np.random.randn(10, 3)
D = W.dot(X)
# now suppose we had the gradient on D from abo... |
I have a doubt about the posterior distribution of the variance parameter for the Tobit model as provided by Koop, Poierier, Tobias (2007) in "Bayesian Econometrics Methods" page 221.
Posteriors for parameters in Tobit model are derived by using the auxiliary variable: $$y_z=Dz+(1-D)y $$ where $D=1$ when observations $... |
I was wondering if anyone has some well organized material that goes through the relationships among the most important stochastic processes like Markov, Ito, Levy, Martingales etc.
Thank you
|
I was wondering about how to integrate via Monte Carlo Methods.
Suppose that $Y_{1:n}$ is a sample of $n$ values, there are simulated from a mixture of normal distributions, $Y_{1:n} \sim p_{0} \mathcal{N}(\mu_{0},1)+ (1-p_{0}) \mathcal{N}(\lambda_{0}, 1)$ where $p_{0},\mu_{0}, \lambda_{0}$ are known.
Assume that I pu... |
hey, I have a dataset that contains hourly wind speeds. When I plotted my original acf, it showed seasonality at every 24 lags so I applied a difference of 24 to remove seasonality and another difference to remove trends. The diagrams shows the resulting acf and pacf, how do I determine the order of the arima model. ... |
Suppose I am applying K-means clustering on two datasets generated by same process. How to compare clustering stability over a period of time? Let's say I have applied clustering in 2016 on a data set, and I want have applied clustering on a dataset generated by same process in 2017. How to be sure that clusters have ... |
Could someone please demonstrate how to get the asymptotic variance of the IV estimator in a simple regression (as in Wooldridge):
The variance of Beta 1 is as follows:
|
I have a set of data referring to the sales that a company had in the past 90 days.I need to determine the distribution that this data may come from in order to use it in R. If I know the distribution, I can use different functions to generate numbers that respect that distribution (for example, rrnorm or rrpois) and t... |
I would like to understand how the variance of multiple random variables is computed when weights of the variables change over time. For example, let $\displaystyle X_{t}$ be a random variable at time $\displaystyle t$ and $\displaystyle Y_{t}$ be a random variable at time $\displaystyle t$. At time $\displaystyle 0\l... |
I am hearing a lot about probabilistic programming.
Turns out its just a way to specify probabilistic graphical models.
Like Tensorflow is to neural networks.
So, why use it? Do you know of any place where it has been useful?
|
I have a random vector $Y\in\Bbb{R}^p$ that is distributed as a multivariate t-distribution $t_p(\mu,\Sigma,\nu).$
I know we can see the distribution as $$Y\; \vert\; Z=z \sim\mathcal{N}(\mu,\Sigma /z)$$ with $$Z\;\sim\; \Gamma(\frac{1}{2}\nu,\frac{1}{2}\nu).$$
I am reading the following result:
$$Z\vert Y=y\sim \G... |
Let $S_{1k}$ and $S_{2j}$ denote the epoch of the $k^{th}$ and $j^{th}$ arrival in the first and second poisson counting process, respectively.
The first and second poisson counting process is the consequence of subdividing of an original poisson counting process.
To determine the probability that $S_{1k} < S_{2j}$, ... |
I suppose that
$$P(A|B) = P(A | B,C) * P(C) + P(A|B,\neg C) * P(\neg C)$$
is correct, whereas
$$P(A|B) = P(A | B,C) + P(A|B,\neg C) $$
is incorrect.
However, I have got an "intuition" about the later one, that is, you consider the probability P(A | B) by splitting two cases (C or Not C). Why this intuition is wr... |
I try to make a binary logistic regression model from 85871 samples. I used enter method. There are seven explanatory variables and all of them have significant in Wald Test. But, in Hosmer Lemeshow Test also significant, so my model doesn't fit the data right? What can I do in order to make my model fit? Is there anot... |
Question: Suppose that you are testing the idd-ness of a random number generator, and you've done so with the permutation test and the monkey test. Both tests produce a $\chi^2$ statistic and a corresponding $p$-value. How would you calculate the corresponding standard errors to indicate the accuracy of the statistic a... |
Consider a Bayesian network
where A and B are independent. Intuitively, since both A and B can influence C, the probability of B given C should drop if A is observed.
Question
Does
$$P(B|C)\geq P(B|A,C) $$
systematically hold for this sort of Bayesian Network? Can we prove it, or otherwise, find a counter-example?
|
I have a binary matrix N x N where both rows and columns represent users of a website. If matix[i,j] = 1 it means that user i liked the user j (posts). On the other sied, not necessarily matix[j,i] = 1 because it could be that user j did not like user i' posts. I would like, given a user k, to suggest the top 10 users ... |
SPSS, Stata and SAS can all conduct multivariate multiple regressions (i.e. more than 2 continuous predictors and more than 2 outcomes) as GLM.
Consequently, the multivariate tests answers the question "which of the predictors (if any) is significantly related to at least one of the outcomes?".
Because one has to refe... |
I have a count dataset with mean=3.2, and a little bit Zero-inflated.
X1 X2 X3 Y
Food3 Low 13 2
Food3 High 27 1
Food2 Low 13 1
Food1 Medium 27 1
Food1 High 20 8
Food3 Low 20 1
Food1 High 13 5
Food2 Medium 13 4
Food1 Low 13 0
Food2 High 20 6
Food1 ... |
I am using ADAM as an optimization algorithm to minimize some black box function $f(x,y)$. I know this function is convex and has a minimum $f(5,5) = 0$.
Initially, the algorithm proceeds as expected:
where the $x$ and $y$ axis are the respective variables, and the red dot indicates the target of $x=5, y=5$
However at... |
I was wondering, what the threshold is for a dataset to be called 'imbalanced'?
Technically every dataset where the target-classes aren't evenly distributed is not balanced. Yet small imbalance seems to have little effect in the used methods (i.e. decision trees, Cluster Analysis, etc.) and outcomes. So when do we cal... |
I've been a long time adept of the Broyden-Fletcher-Goldfarb-Shanno algorithm (BFGS), which I trusted to be a pretty efficient local optimisation technique. And indeed it is.
The problem I usually face however is when I need to account for box constraints, say $x \in [a,b]$.
Since BFGS cannot handle these "natively" I... |
Why don't we use importance sampling for 1-step Q-learning?
Q-learning is off-policy which means that we generate samples with a different policy than we try to optimize. Thus it should be impossible to estimate the expectation of the return for every state-action pair for the target policy by using samples generated... |
I have the following requirement: I get a list of words. These words come from table-like structures (they do not have table column headers). They are not well-formed sentences. Example input:
['th', 'March, 2018', 'LAST', 'COMMENT', '06-Mar', 'Gibraltar', 'Sea Helios',
'45,948', '52,719', 'N/A', 'UMS']
From the abo... |
I am running a study on school children to compare psychometrics in physically active and sedentary children.
My IV is physical activity with 2 levels - physically active / sedentary
and DV psychometrics with 3 levels - coping styles / coping efficacy / physical self description.
I have chosen to use a Multiple regres... |
Take linear regression model - OLS method for instance.
$Y = \beta_0 + \beta_1X + u$
Assume there is a data frame of 2 column X, Y, and 500 rows of values of X and Y.
There is an assumption "constant error variance", i.e.
$V(u_1)=V(u_2)=...=V(u_{500})=\sigma^2$
So, I wonder what does something like $V(u_1)$ mean? Each ... |
I would like to build a model where:
1) My dependent variable is an ordinal variable with 7 or 8 levels
(sadly, I know for a fact, that the intervals between them are not equal, because it is a likert response-scale with numerical values which grow 'almost exponentially')
2) I want to include multiple predictors:
a) c... |
I am using the r package glmnet to do the lasso for Correlated Variable Selection. I need to find the lambdas associated with the minimum mean squared value following answer from Variablity in cv.glmnet results. I used the code below:
my_data<-as.matrxi(my_data)
x<-my_data[,-1]
y<-my_data[,1]
cvob10<-cv.glmnet(x,y)
plo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.