+ Reply to Thread
Results 1 to 5 of 5

How can I run an F-Test Application?

  1. #1
    Registered User
    Join Date
    10-06-2008
    Location
    Lowell
    Posts
    2

    Question How can I run an F-Test Application?

    I am trying to write a macro which will automatically run an F-Test from the Excell Add-Ins. I tried recording the macro using the data analysis and only got a code of:

    Please Login or Register  to view this content.
    If I actually try to run that, I get a

    Run Time Error 1004
    Method 'Run' of object '_Application' failed.

    I am not sure why this is happening and cannot locate help anywhere else.

    Any help would be appreciated

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    FTEST is available to VBA as a worksheet function:
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-06-2008
    Location
    Lowell
    Posts
    2

    How do I set the FTest Alpha

    That's useful! But how do I set the Alpha value, or is it just a standard?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Sorry, I don't know the answer.

  5. #5
    Registered User
    Join Date
    01-13-2011
    Location
    Rustenburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: How can I run an F-Test Application?

    I tried the following and it works

    Application.Run "ATPVBAEN.XLA!Ftestv", Range("C214:F214"), Range("C215:F215"), Range("A220"), False, 0.05

    where:

    C214:F214 was my input value 1 range
    c215:f215 was my input value 2 range
    and A220 was my output range.

    Hope this helps

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Adding Up $ Values Based On Criteria In Other Cells
    By Karleajensar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2007, 05:41 PM
  2. Macro Trouble on T tests. 1600 test to do.
    By gjmcleod in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-19-2007, 06:20 PM
  3. new instance Excel application
    By extreme in forum Excel General
    Replies: 3
    Last Post: 06-25-2007, 12:41 AM
  4. terminating whole excel application with a button
    By marktheman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2007, 07:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1