Questions tagged [mixed]

259 questions
2
votes
0 answers

Missing data in longitudinal data and fitted by linear mixed model

I have a question about handling the following missing data scenario using the linear mixed effect model. Suppose I have a closed longitudinal cohort followed by six years. There are 1500 individuals at the initial wave. Available observations by…
zjppdozen
  • 63
  • 5
2
votes
0 answers

Error in afex::all_fit() after running glmer with mixed()

I've successfully run a glmer model using mixed(). It took a while to find a model that would converge as I have a number of variables, but the final model looks like this: > head(data1) # A tibble: 6 x 8 Speaker data_type learned_next…
Catherine Laing
  • 475
  • 6
  • 18
2
votes
2 answers

How to get convergence error messages or max gradient in lme4

How could I get max gradient values after doing random effects models with lme4? By default, it is shown if it is more than 0.002, but I want to make an original function as below, which needs a returned value of max gradient, whether the value is…
Kaori
  • 23
  • 2
2
votes
0 answers

Can 2 levels in a factor go missing in a generalised mixed effect model?

I ran this Generalised mixed effect model glm1bd <- glmer(Abundance ~ Reason + Region + months.since.spill + bareground.cover + litter.cover + Distance.to.nearest.bush + buildings + roads + (1|Site/Session/Point), warrispill, …
Inieric
  • 21
  • 1
2
votes
1 answer

C++ calling a ref-class function (mixed code)

I have an application (CLI) that references a mixed-DLL. The DLL implements a "ref" class with static functions. Here is the (partial) code for the ref-class public ref class AAA { public: static bool Write(System::String^ sz); // Not…
Seb
  • 143
  • 2
  • 10
2
votes
1 answer

Mixing .NET assemblies (.NET 3.5 and .NET 4.0 Client profile)

We would like to deploy our application targeting the .NET 4.0 Client profile because I believe it is now deployed on most Windows 7 PCs. Some of the components we use do require .NET 4.0 so its not possible to use .NET 3.5 and we don't wish to…
user457588
  • 331
  • 5
  • 11
2
votes
2 answers

Use printf for ternary operator arguments with mixed types

I have a tricky, but interesting question. Hang in there! Let's assume I write embedded code, and I am in a system where I have to store values in 16bit unsigned to be compatible with other systems. Some values have a decimal part, but luckily I…
Motla
  • 1,092
  • 12
  • 19
2
votes
0 answers

Fortran matrix with different data types or mixed precision according to different columns (or rows)

In short, what I want is: custom_2d_matrix(n, m) where 1..x are arrays of integers with size n and x+1..m are arrays of real numbers with size m. (1 <= x <= m) For example, I want to create a custom type, which is a mixed precision matrix, or you…
Sayyora
  • 463
  • 5
  • 17
2
votes
1 answer

Detect PHP code in files with mixed content (PHP/HTML) by PHP for Obfuscate?

Just wonder if exist class or function allow detect and replace only php code inside php file. I want Obfuscate only PHP code and keep HTML untouched and I don't think that preg_match is best way how to do this. So far I have this: function…
Zdenek Slavik
  • 142
  • 3
  • 13
2
votes
0 answers

ezANOVA to lme4?

I have a question regarding ezANOVA and lme4 -- I would like to run my stats using lme4 instead of using ezANOVA, but am not sure how to write the lme4 equation. Here is what I use for ezANOVA: ezANOVA(data = SG10Long, wid =…
PeterPer
  • 55
  • 5
2
votes
2 answers

Mixed Language Programming, VB and C++, Understanding API and pointers

My problem is with understanding the finer point of mixed langage programming and accessing API's in external libraries. My skills at C++ are nonexistent and at VB, mediocre. I have a c++ dll compiled (portaudio library), and am trying to access…
David Shields
  • 596
  • 1
  • 12
  • 34
2
votes
1 answer

Genetic algorithms for guillotine cut optimization

Ive been revisiting genetic algorithms with encoding, optimizing and decoding. My first attempt was the travelling salesman with ordered cross over which worked great. I found an article that tried to optimize a more complex genome while optimizing…
Clinton
  • 347
  • 1
  • 2
  • 14
2
votes
1 answer

How to export mixed type objects to csv file?

I'm writing a script that returns a list of objects that most of them have different number of properties. When I print it in the console everything is OK, but when I try to export to CSV only those fields that are common in all objects get…
SokIsKedu
  • 196
  • 1
  • 2
  • 17
2
votes
1 answer

Place #PCDATA in DTD mixed Content

It is actually possible to specify that an element can contain both PCDATA and other elements. Such a content model is called mixed. To specify a mixed-content model, just list #PCDATA along with the child elements you want to allow:
2
votes
1 answer

Can I have S/MIME as part of a multipart/mixed message?

I am trying to send an S/MIME encrypted email through a pre-defined email distribution system. I give them a perfectly valid email, with all the right headers and correctly encrypted content. The problem is, that the system rips the email apart and…
func0der
  • 2,192
  • 1
  • 19
  • 29