これらのデータ型やプレフィックスに精通する必要はありますが、以前に説明した Win32API.txt ファイルに含まれる Declare ステートメントは VBA でそのまま使用できます。コード内でこれらの Declare ステートメントを使用すると、関数の引数は既に正しい VBA データ型で定義されています。 大部分の場合は、正しいデータ型を定義し、渡している限り、DLL 関数の呼び出しは VBA 関数の呼び出しと同じ方法で機能します。例外については、次のセクションで説明します。 DLL 関数から文字列を返す DLL 関数が文字列を返す方法は、VBA 関数とは異なります。文字列は、DLL 関数へは常に参照渡しで渡されるので、DLL 関数は文字列引数の値を変更できます。VBA で行うように、関数の戻り値として文字列を返すのではなく、DLL 関数は関数に渡された String 型の "引数"
■Excel:重回帰分析(3)・・・分析ツールの使い方,説明変数の選び方 ここでは,学的に厳密なことは望まず,仕事や研究で報告書を半日程度でまとめなければならない人を念頭に置いて,大筋の説明を目指す.重回帰分析自体に使える時間として,は30分~1時間程度を想定する.(もっと詳しい説明が必要な人は下端に参考資料を示す.) ■Excelの分析ツールの使い方■ 次の例では,冷蔵庫の「実勢価格」(目的変数)を「総容量L」「ドア数(個)」「冷蔵室L」「冷凍室L」「野菜室L」「製氷室L」(説明変数)で表わす重回帰式を求めることを当面の目標とする. 次の図のように目的変数(被説明変数,従属変数)がA列にあり,説明変数(独立変数)がB~G列に入力されている場合を例に解説する. 操作方法は、下の[前の操作][次の操作]ボタンを順次押せば表示される.(データの出所:2007.3.18に価格.com>スペック検
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く