Questions tagged [varying]
55 questions
0
votes
0 answers
Managing Discrete-Varying Covariates in Modeling an Outcome
I'm looking to model an outcome along the lines of this:
Energy ~ Specimen_Region + Specimen_Thickness + Tissue_Coefficinet....Age + Max_Diam
Where Energy is a quantitative outcome to be modeled on ~15 covariates consisting of both patient-level…

bptkramer
- 1
- 2
0
votes
0 answers
How to find functional form in curve fitting
Suppose I have x and y variables and their measurements over time t.
If y=f(t)x+g(t)
How can I find the functional forms of the f(t) and g(t)? In some sense this a linear regression with time varying slope and baseline but i am unablemto come up…

Kotoll
- 1
- 1
0
votes
0 answers
Transfer funtion of a LPTV Low Pass Filter
I have a periodically operated 1st order low pass filter circuit as shown below -
I am interested in obtaining the transfer function from the input to the output. Can you provide with me some ideas on how to approach the problem?
I know that when…

rakibul
- 1
0
votes
0 answers
How to handle multivariate data with varying time lengths in an LSTM?
The dataset I have is a medical dataset, where measurements were taken at 6 month intervals. Now I want the model to predict 5 years into the future. However there are a lot of subjects that only have for example the first three years of 6 month…

BillyG
- 1
0
votes
1 answer
UITableViewCell with UIStackView with varying items?
I have a typical UITableView with custom cells. All cells are of the same type - one UIStackView which contains the views of the same type but varies their count.
Tried to use one cell for all - it is slow to delete-add inner views.
Tried to create…

Vyachaslav Gerchicov
- 2,317
- 3
- 23
- 49
0
votes
1 answer
Many to Many LSTM network
I'm building a many to many network in Keras, using an LSTM. I have sequences of varying length (labels always have the same length as the sequence they describe). To handle the varying length and after searching on other SO posts I've found padding…

Hugo
- 41
- 3
0
votes
3 answers
Parsing a string with varying number of whitespace characters in C
I'm pretty new to C, and trying to write a function that will parse a string such as:
"This (5 spaces here) is (1 space
here) a (2 spaces here) string."
The function header would have a pointer to the string passed in such as:
bool Class::Parse(…

user656710
- 21
- 1
- 3
0
votes
0 answers
How can I estimate a latent class model with individual-specific parameters in R?
I am trying to estimate a latent class model in R based on a discrete choice experiment. Attributes in my choice set were 'COST', 'NUCL', 'REN', 'FOSS' and 'OUTAGE'. I also asked background questions which give me the variables 'MALE', 'NL', 'Y25',…
0
votes
1 answer
How can I estimate a latent class logit model in R?
I am new to using R. I am trying to estimate a latent class logit model using panel data. I tried following this example: https://rpubs.com/msarrias1986/335556.
I was told that the following code should work:
df01 <- mlogit.data(data,
…
0
votes
2 answers
create new dataframe according to a dictionary using for loop
I am trying to create multiple dataframe with similar names. The names change based on a list, and also join an operating.
corr_C=train[train_C].apply(lambda x: x.corr(train['target'])).abs()
corr_C=corr_C.sort_values(ascending=False,…

S Hendricks
- 109
- 1
- 9
0
votes
1 answer
Why does GLSL Warning tell me varying isn't written to, when it clearly is?
I have never had any problems passing variables from vertex shader to fragment shader. But today, I added a new "out" variable in the vs, and a corresponding "in" variable in the fs. GLSL says the following:
Shader Program: The fragment shader uses…

GDN9
- 329
- 3
- 15
0
votes
0 answers
SQL Server Split Varying Address length into specific columns
I am trying to split a varying string Address into a specific Address format columns. I have tried using REPLACE,PARSENAME,SUBSTRING,LEFT,RIGHT but it's not getting me anywhere. Here is the format of the address field, as you can see there can be…

Jimbo
- 1
- 1
0
votes
2 answers
PostgreSQL and joining using character varying[] fields
I've inherited a PostgreSQL 9.2.4 database and while I have a fairly extensive background in SQL Server I'm having a little trouble wrapping my head around a problem I'm encountering.
I have one table that has three fields (among other things) in…

UkrainianSpider
- 1
- 4
0
votes
3 answers
MySQL SELECT with varying WHERE fields
At a high-level this sounds trivial, but it turns out I've been scratching my head for a a couple of hours.
Situation:
I have table T, with columns a,b,c,d,e. Column a holds a string, while b,c,d,e each hold a boolean value.
I am allowing a user to…

Rodman Grenich
- 11
- 6
0
votes
1 answer
json parse response can have one or multiple objects
i need to parse this response in android using the android json parser but the thing i cant find the answer to anywhere is:
how do i parse the data if for example "itineraries" can contain one or sometimes more objects of the type itinerary?
if it…

DArkO
- 15,880
- 12
- 60
- 88