I have one question about the regression. i know how can i do it lineair, exponentiel ... but how can i make a personnalised regression ? for example, if i have i function f(x)=a+b*x^2 or another function ... how can i introduce my function to draw the regression ? i have excel 2007

The above is a screenshot of the data analysis (regression) I want to automate with vba code. Like all macros, I tried to record first and only got the following

I was handed the attached file. understand everything except how the values in row 6 were derived No formula present when I received the file, just the numbers. Row 7 is hard entered scores the units achieved

I have the following dataset and was wondering how I can run a constrained regression in Excel with the constraint being that the total allocation of assets is 100%:

Total return (y): 12 data points Asset 1 (x1): 12 data points Asset 2 (x2): 12 data points Asset 3 (x3): 12 data points Asset 4 (x4): 12 data points Asset 5 (x5): 12 data points Asset 6 (x6): 12 data points

[Attached is a spreadsheet with the actual dataset]

I know the regression equation I need is R = b1X1 + b2X2 + ….+ (1 - b1 - b2 -….- b5 )X6 + e

I am wanting to write a macro which uses the excel multiple regression function (a part of the data analysis add-in). I tried recording a macro while I selected the regression function (Tools> Data Analysis... etc.) which produced the following:

I would like to run a multiple linear regression in vba. I have one dependent and three explanatory variables. I will have to use a macro of some kind, since I need to run too many regressions to do it manually. To simplify things a little bit:

- There will always be exactly three independent variables

- There are no missing values

- The data is allways numerical

I've already got four ranges defined: Yrange, X1range, X2range, X3range. I would like to take these ranges as input parameters for the regression model. The only two parameters I need are Sum Square for Regression (SSR) and the degrees of freedom. I understand that you can use excel's matrix formulas to calculate some of the input parameters, but one doesn't really get around vba. Any (simple) source code allowing me to conduct a regression with three input parameters?

I am trying to set up the formula y = ax^2 + bx + c. Is there a function for that in excel?

To get a little more into my overall goal. I will have a x constant that will remain the same, but I have 8 different sets of a,b, & c coefficients. So, I would like to set up something like, if a row is labeled A1, find the A1 set of coefficients and use them in the quadratic equation. I was thinking I would need to use a CSE, is that correct?

I have set up a linear regression array in Excel and now want to test the significance of my r2 value at a certain level of significance. I've only been able to find tables that give the critical r value, but I want to test it at 99.73% level of confidence and none of them contain that specific value. Is there a way to do this in Excel?

I have a set of data. I know how to do linear regression over the whole set of data. How do I have another linear regression over the first 5 points in the set of data on the same graph ?? I am using Excel 2007

I'm trying to write a macro that will analyze data from one spreadsheet and do a regression. The information I want to be output on the same sheet. I tried to use the record function, but I got an error. It said "Run-time error '1004': ATPVBAEN.XLA could not be found. The code read:

to getting accurate regression coefficients from a dataset with *small* (standard) numbers, which contains centered predictors. More specifically, I have a dataset with 18 observed data points containing a criterion (y), a centered predictor variable (x), another centered predictor variable (z), and the interaction of the two centered predictor variables (xz). This multiple regression equation is structured to test for interactions between the two continuous predictor variables (x and z) as prescribed by Aiken and West (1991) in their classic book.

When I run the regression in Excel with the centered predictors, some of the regression coefficents in the output are estimated to be 0, although they are clealry *not* 0 as estimated by SPSS 14.0.2. I have spent many hours troubleshooting this problem (and searched many forums on the internet) and still do not know why this is happening.

Initially, I thought the problem might have to do with the cross-product of the centered predictors, but even just doing a regression with one of the centered predictors (for certain centered predictors) yields a regression coefficient of 0 (although it should be non-zero as per SPSS 14.0.2). When doing these multiple regressions with non-centered predictors, all regression coefficients are estimated accurately.

I was wondering if anyone had any insights on why I am experiencing these problems.... If anyone wants a sample of some test data I have used to troubleshoot these problems, you can download a file from: [url] and/or email me at (email deleted by Mod) for more datasets or questions.

However I have a subject at uni that requires me to create a series of regression models, histograms, correlation matrices etc.

For part of the assignment, i have to run 4 regressions (one for men & one for women) with dependent variable as average wages, and independent as bfast 1,2,3 and dinner 1,2,3 (all of which are dummy variables) (0 for male and 1 for female).

The second two regressions are exactly the same, except average wages must be transformed into log which i have already done.

I dont know how to differentiate the regression models into male and female (if possible). We must also include residuals and residual plots.

I keep getting an error that says non-numeric data, the other says input range must be a contiguous reference.

When I put in =datevalue("08/22/2008") I get the error #Value! If I put in datevalue("2008/08/22") 39682 which is what I was expecting. If I use =datevalue("08/08/22") I also get the right answer, anything else I get #VALUE!

I didn't think that Datevalue mattered with how the date was in?

Do I have a setting wrong of something that could be causing the error?

I am failing on the logic and syntax to achieve the following. Basically it has to take the sum of 1, or 2 fields and validate it against the value of a 3rd field. I can get it to work for 1 field if DefPercent = 100 but not when looking at the total of 2 fields if DefPercent < 100.

Fields:

- DefPercent (if = 100 LiabilityAmt2.Enable = False) (this works fine already) - TotalLiability - LiabilityAmt1 - LiabilityAmt2

Output Required: logic only

If DefPercent = 100 And TotalLiability LiabilityAmt1 Then MsgBox "error....." Exit Sub Else continue

If DefPercent < 100 And TotalLiability LiabilityAmt1 + LiabilityAmt2 Then MsgBox "error...." Exit Sub Else continue

I am working with excel 2007 in windows 7. I am working with small animals that have been outfitted with a RFID (radio-frequency ID) tags with unique UID codes. In a sheet called Tag_info I have a list of the unique UID's of the tags that are in use along with a number of parameters (the colony in which the animal with this tag is situated, if it was treated with something, its age etc). I left out most of the parameters because they aren't relevant to my question, but it looks like this with each UID only once in the list:

A B C

1 UID Colony Treatment

[Code] ........

In a 2nd sheet, a ton of data is saved by the scanners that read the tags as the animals pass by scanners in a number of locations. The relevant data for my problem is basicly the timestamp (UTCTime_Rounded). Since animals pass by the same scanners multiple times, and scanners may read the same 'passing' as multiple signals the column with UID's here contains tons of duplicates (unlike in the Tag_info sheet where every UID is only displayed once). Once again, I left out the irrelevant data for simplification so that the data looks like this:

A B C D

1 UID Address UTCTime_Rounded Age at read

[Code] ........

So finally, what am I looking for? I want a formula to look up the UID's from the Tag_info sheet to find and return the first and the last timestamp (UTCTime_Rounded) for that UID in the RFID_Scan_values sheet.

So that formula basicly has to return the min and max values for UTCTime_Rounded, for each of the UID's in Tag_info. The output would look like this (I did it manually for this dummy dataset since I didn't get any formula to work yet):

A B C D

1 UID Colony Treatment First scanned

[Code] ........

Tag info And then a similar column for the Last scanned, max values.

I have just started using Excel 2007 after many years with 2003 and I must say that the new one is totally amazing except for one thing and Im sure there is an easy answer to this although the HELP was NO HELP

One the sheet I am working on I hide the sheet tabs through 2003 and now I see there is no options to unhide them. How do I do this.

I have an excel file saved as macro-enabled that is perfectly functional and can be opened on my computer (via Security Warning - Enable Macros). The file is saved on another computer, through which I am accessing by a network.

This other computer is unable to run the macros, and when we open the file in excel there is no security warning that pops up (like there is on my computer). I have gone to the Excel Options and entered the trust center settings, and finally the Macro Settings. It is set at Disable all macros with notification. (same for both computers... but on one of the computers there is no security warning that pops up)

We tried enabling all macros (temporarily) and tried re-opening the file and running a macro. We got an error message saying that macros were not enabled.

We also made the file a trusted location and saw no changes.

I have column "A" a list of my PDF filenames and File path in Column "B". I want to establish hyperlinks for each of these PDF filenames (column A) and link it with the file path that I generated in Column B.

=HYPERLINK(B1,A1) did it very well, but unfortunately when converting to PDF, the hyperlink is not working, and I believe the conversion retained is only in text, so now my only resort is hardcoding it by VBA.

I am currently struggling with a spreadsheet that has been created in Excel 2007. Essentially, it has a number of items (individually identified by "S code" in the first column) that need to be tested at the specific dates over a one year period (i.e. at "2 weeks", "4 weeks", "8 weeks", etc) as shown in the screenshot below.

A user manually enters "Complete" into the corresponding cell in the "In-testing status" section of the spreadsheet when testing has been completed for a certain item at a particular time point.

Screenshot.jpg

I already have set up conditional formatting that highlights cells with dates older than the current date red. What I need to do now is to check for a particular item and date whether or not the corresponding "In-testing Status" cell reads "COMPLETE". If it does, I need to use a conditional formatting rule to return formatting to normal.

What I am unsure of is how exactly to retrieve the value of the corresponding "In-testing Status" cell.

Unfortunately I can't use a macro-enabled workbook in this environment

I have use excel 2007. In our sheet i have in cell "B3" product name i.e. "abc" , "xyz" etc. That is called sales of goods.

In cell "C3" i have number of quantity If "B3" is "abc" then only calculate below :

1st option : If product name is "abc" then only calculate (which is cell "B3") & cell "c3" is >=15 & cell "c3" is<19 then message shown as "one mobile free"

2nd option : If product name is "abc" then only calculate (which is cell "B3") & cell "c3" is >=20 & cell "c3" is<39 then message shown as "two mobile free"

3rd option : If product name is "abc" then only calculate (which is cell "B3") & cell "c3" is >=40 then message shown as "three mobile free"

I have a frequency table (attached) that I need to be able to interpolate values between the known values on something other than a linear basis (e.g. exponential or logarithmic).